Skip to main content

Module extractor

Module extractor 

Source
Expand description

Python’s forward, per-target usage scan: the scoped import closure, the per-file walk that proves a reference, and the receiver-type facts both this and the inverted walk resolve through.

Structs§

ParsedFile
PythonProjectGraph
ScanCtx
ScanResult

Functions§

build_python_graph
call_result_types
collect_assigned_identifiers
collect_function_scope_facts_from_node
collect_module_binding_timeline
collect_scope_facts_from_parsed_source
enclosing_scope_facts
The per-function receiver-type facts enclosing node, if any. Shared by the forward scan (ScanCtx) and the inverted builder (PyScan) so the two paths resolve a receiver’s scope through one place.
is_declaration_identifier
scan_files_for_seeds
slice