private void Lexer(string input) { var dlexer = new CDirectiveLexer( parserState, new CLexer(new StringReader(input))); lexer = new LookAheadLexer(dlexer); }
public LookAheadLexer(CDirectiveLexer lexer) { this.lexer = lexer; this.queue = new List<CToken>(); iRead= 0; }
public LookAheadLexer(CDirectiveLexer lexer) { this.lexer = lexer; this.queue = new List <CToken>(); iRead = 0; }
private void Lex(string text) { lexer = new CDirectiveLexer(state, new CLexer(new StringReader(text))); }
public StringConcatenator(CDirectiveLexer lexer) { this.lexer = lexer; this.sb = new StringBuilder(); this.tokenPrev = new CToken(CTokenType.None); }