public ProductionExpressionBuilder(AbstractTerminal abs)
 {
     expression = new ProductionExpression()
     {
         abs
     };
 }
Ejemplo n.º 2
0
        public Production Add(AbstractTerminal term)
        {
            var expr = new ProductionExpression()
            {
                term
            };

            Add(expr);
            return(this);
        }
 public void Append(AbstractTerminal abs)
 {
     expression.Add(abs);
 }