Beispiel #1
0
        private void Lexer(string input)
        {
            var dlexer = new CDirectiveLexer(
                parserState,
                new CLexer(new StringReader(input)));

            lexer = new LookAheadLexer(dlexer);
        }
Beispiel #2
0
        private void Lexer(string input)
        {
            var dlexer = new CDirectiveLexer(
                parserState,
                new CLexer(new StringReader(input), CLexer.GccKeywords));
            var sc = new StringConcatenator(dlexer);

            lexer = new LookAheadLexer(sc);
        }
 private void Lex(string text)
 {
     lexer = new CDirectiveLexer(state, new CLexer(new StringReader(text)));
 }
Beispiel #4
0
 private void Lex(string text)
 {
     lexer = new CDirectiveLexer(state, new CLexer(new StringReader(text)));
 }
Beispiel #5
0
 private void Lex(string text)
 {
     lexer = new CDirectiveLexer(state, new CLexer(new StringReader(text), CLexer.GccKeywords));
 }