public CParser(ParserState parserState, CLexer lexer) { this.ParserState = parserState; this.lexer = new LookAheadLexer( new CDirectiveLexer(parserState, lexer)); this.grammar = new CGrammar(); }
private void Lexer(string input) { var dlexer = new CDirectiveLexer( parserState, new CLexer(new StringReader(input))); lexer = new LookAheadLexer(dlexer); }