private static MoLangParser DefaultFactory(ITokenIterator iterator) { var parser = new MoLangParser(iterator); parser.ExpressionTraverser.Visitors.Add(new MathOptimizationVisitor()); return(parser); }
public abstract IExpression Parse(MoLangParser parser, Token token);
public abstract IExpression Parse(MoLangParser parser, Token token, IExpression leftExpr);