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

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

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

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

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