Esempio n. 1
0
        public static ProductionExpression operator +(AbstractTerminal old, string self)
        {
            var builder = new ProductionExpressionBuilder(old);

            builder.Append(self);
            return(builder.ToExpression());
        }
        public static ProductionExpression operator +(ProductionExpression expr1, ProductionExpression expr2)
        {
            var builder = new ProductionExpressionBuilder(expr1);

            builder.Append(expr2);
            return(builder.ToExpression());
        }
Esempio n. 3
0
        public static ProductionExpression operator +(AbstractTerminal self, ProductionExpression expr)
        {
            var builder = new ProductionExpressionBuilder(self);

            builder.Append(expr);
            return(builder.ToExpression());
        }
        public static ProductionExpression operator +(ProductionExpression expr, string str)
        {
            var builder = new ProductionExpressionBuilder(expr);

            builder.Append(str);
            return(builder.ToExpression());
        }