Package sanskrit
Class PyParser
java.lang.Object
sanskrit.PyParser
Recursive descent parser for the Python subset described in PYTHON.md. It
builds a tree shaped like CPython's
ast. Constructs of Python that
are outside the subset are reported as syntax errors.-
Method Summary
Modifier and TypeMethodDescriptionstatic Ast.ModuleParses a whole source file into aModulenode.
-
Method Details
-
parse
Parses a whole source file into aModulenode.
-