module documentation
Class |
|
Object to keep track of parsed modules and inferred nodes. |
Function | parse |
Parse the python source string into a ast.Module instance. |
Class | _ |
Obviously inspired by astroid rebuilder |
Function | _set |
Define that the given name is declared in the given statement node. |
Variable | _default |
Undocumented |
Variable | _parse |
Undocumented |
Variable | _unparse |
Undocumented |
Parse the python source string into a ast.Module
instance.
Attention, using this function alters a global parser state, use a Parser
instance
to parse a set of modules in isolated environments.
Parameters | |
source:str | Undocumented |
modname:str | Undocumented |
isbool | Undocumented |
**kw:Any | Undocumented |
Returns | |
_typing.Module | Undocumented |
See Also | |
Parser.parse |