Beispiel #1
0
        public void SetUp()
        {
            GetTextToTokenize();
            lexer = new Lexer(Tokens.All);
            lexer.Tokenize(_attributes.Input);

            Console.WriteLine("Tokens for {0}", _attributes.Input);
            tokens.ForEach(tok => Console.WriteLine(tok));
        }
Beispiel #2
0
 public Parser(Lexer lexer)
 {
     _lexer = lexer;
 }