Example #1
0
 private void Lexer(string input)
 {
     var dlexer = new CDirectiveLexer(
         parserState, 
         new CLexer(new StringReader(input)));
     lexer = new LookAheadLexer(dlexer);
 }
Example #2
0
 public LookAheadLexer(CDirectiveLexer lexer)
 {
     this.lexer = lexer;
     this.queue = new List <CToken>();
     iRead      = 0;
 }
Example #3
0
 public LookAheadLexer(CDirectiveLexer lexer)
 {
     this.lexer = lexer;
     this.queue = new List<CToken>();
     iRead= 0;
 }