public ProductionExpressionBuilder(AbstractTerminal abs)
 {
     expression = new ProductionExpression()
     {
         abs
     };
 }
Пример #2
0
        public Production Add(AbstractTerminal term)
        {
            var expr = new ProductionExpression()
            {
                term
            };

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