private TestParser GetTestParser(string input) { var lexer = new TestLexer2(input); var tokens = lexer.Tokens().ToList(); var parser = new TestParser(); parser.Initialize(tokens, lexer); return parser; }
private TestParser GetTestParser(string input) { var lexer = new TestLexer2(input); var tokens = lexer.Tokens().ToList(); var parser = new TestParser(); parser.Initialize(tokens, lexer); return(parser); }