Expand description
Analyzer-level re-export + importer index for Python, so both usage paths
resolve references through analyzer state. Built once from the analyzer’s own
module index + export_index_of / import_binder_of and cached on
[PythonAnalyzer] (dropped on update/update_all like the other caches).
Forward export seeds follow re-export chains
(PythonUsageIndex::seeds_for_target), and the reverse importer index
resolves which local names in an importer bind a seed
(PythonUsageIndex::matching_edges_for_importer). Candidate-file narrowing
stays in the forward path’s scoped import closure (PythonProjectGraph), not
here. Module resolution reuses the analyzer’s existing python_module_name
Structs§
- Module
Binding Event - Python
Usage Index - Re-export and reverse-import indices over the Python workspace.
Enums§
Functions§
- usage_
importer_ files - usage_
matching_ edges - The import edges in
importerthat bind one of theseeds. - usage_
module_ binding_ timeline - usage_
resolve_ module_ files - usage_
scope_ facts - usage_
seeds - Export seeds for the target, following re-export chains.