internal FunctionASTGenerator(Parser parser, IModifierGenerator modifierGenerator) { this.modifierGenerator = modifierGenerator; this.parser = parser; this.expressionGenerator = new ExpressionASTGenerator(parser, this); }
public Parser(IEnumerable <Token> tokens) { _tokenReader = new TokenReader(tokens); _modifierGenerator = new ModifierGenerator(this); _functionAstGenerator = new FunctionASTGenerator(this, _modifierGenerator); }