class ModuleAnalyzer:
Undocumented
Class Method | for_egg |
Undocumented |
Class Method | for_file |
Undocumented |
Class Method | for_module |
Undocumented |
Class Method | for_string |
Undocumented |
Static Method | get_module_source |
Try to find the source code for a module. |
Method | __init__ |
Undocumented |
Method | analyze |
Analyze the source code. |
Method | find_attr_docs |
Find class and module-level attributes and their documentation. |
Method | find_tags |
Find class, function and method definitions and their location. |
Method | parse |
Parse the source code. |
Class Variable | cache |
Undocumented |
Instance Variable | _analyzed |
Undocumented |
Instance Variable | annotations |
Undocumented |
Instance Variable | attr_docs |
Undocumented |
Instance Variable | code |
Undocumented |
Instance Variable | finals |
Undocumented |
Instance Variable | modname |
Undocumented |
Instance Variable | overloads |
Undocumented |
Instance Variable | srcname |
Undocumented |
Instance Variable | tagorder |
Undocumented |
Instance Variable | tags |
Undocumented |
Undocumented
Parameters | |
filename:str | Undocumented |
modname:str | Undocumented |
Returns | |
ModuleAnalyzer | Undocumented |
Undocumented
Parameters | |
filename:str | Undocumented |
modname:str | Undocumented |
Returns | |
ModuleAnalyzer | Undocumented |
Undocumented
Parameters | |
modname:str | Undocumented |
Returns | |
ModuleAnalyzer | Undocumented |
Undocumented
Parameters | |
string:str | Undocumented |
modname:str | Undocumented |
srcname:str | Undocumented |
Returns | |
ModuleAnalyzer | Undocumented |
Try to find the source code for a module.
Returns ('filename', 'source'). One of it can be None if no filename or source found
Parameters | |
modname:str | Undocumented |
Returns | |
Tuple[ | Undocumented |
Undocumented
Parameters | |
source:IO | Undocumented |
modname:str | Undocumented |
srcname:str | Undocumented |
Returns | |
Dict[ | Undocumented |