示例#1
0
 internal FunctionASTGenerator(Parser parser,
                               IModifierGenerator modifierGenerator)
 {
     this.modifierGenerator   = modifierGenerator;
     this.parser              = parser;
     this.expressionGenerator = new ExpressionASTGenerator(parser, this);
 }
示例#2
0
        public Parser(IEnumerable <Token> tokens)
        {
            _tokenReader = new TokenReader(tokens);

            _modifierGenerator    = new ModifierGenerator(this);
            _functionAstGenerator = new FunctionASTGenerator(this, _modifierGenerator);
        }