233234235236237238239240241242243
PythonTokenSource indentedSource = new PythonTokenSource(tokens, filename); tokens = new CommonTokenStream(indentedSource); PythonPartialParser parser = new PythonPartialParser(tokens); switch (kind) { case single: parser.single_input(); break; case eval: parser.eval_input(); break; default: