resolve_references
Resolve all references in a module.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
code |
str
|
The code of the module. |
required |
module_name |
str
|
The name of the module if any. |
''
|
path |
str | None
|
The path of the module if any. |
None
|
package_data |
PackageData | None
|
The module data of all modules the package. If provided, the references are resolved with the package data, else the module data is collected first. It is used for the inference of the purity between modules in the package. |
None
|
Returns:
| Type | Description |
|---|---|
ModuleAnalysisResult
|
The result of the reference resolving. |