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