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