analyze_module_ast
FunctionSource
v_1: dict[str, tuple[int, bool]] = analyze_module_ast(module: ModuleType)
Analyze the coding structure (AST) of a module, and return the entity information detected in the code.
Arguments
Requires
| Name | Type | Required | |
|---|---|---|---|
module | ModuleType | The module to be analyzed. |
Returns
| Name | Type | |
|---|---|---|
v_1 | dict[str, tuple[int, bool]] | The mapping of The An entity can be a class, function, variable, and imported aliases such as - class Foo - def bar - baz = ... - import x as y - from .sub import name - from external import name
|