Undocumented
Function | parse |
Parse a source file, without doing any semantic analysis. |
Parse a source file, without doing any semantic analysis.
Return the parse tree. If errors is not provided, raise ParseError on failure. Otherwise, use the errors object to report parse errors.
The python_version (major, minor) option determines the Python syntax variant.
Parameters | |
source:Union[ | Undocumented |
fnam:str | Undocumented |
module:Optional[ | Undocumented |
errors:Optional[ | Undocumented |
options:Options | Undocumented |
Returns | |
MypyFile | Undocumented |