Example #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));
        }
Example #2
0
 public Parser(Lexer lexer)
     : base(lexer)
 {
 }
Example #3
0
 public BaseParser(Lexer lexer)
 {
     _lexer = lexer;
 }