private void RunTest(string pyExp) { var lexer = new Lexer("foo.py", new StringReader(pyExp)); var parser = new Parser("foo.py", lexer); var exp = parser.test(); exp.Accept(new ExpNameDiscovery(syms)); }
private Exp ParseExp(string input) { var lex = Lex(input); var par = new Parser("foo.py", lex); return par.test(); }