Skip to main content

Module graph

Module graph 

Source
Expand description

Python’s usage-graph scans: the forward per-target scan (extractor/hits) and the whole-workspace inverted per-file walk (inverted), both resolving references through resolver.

No analyzer handle appears here. brokk-bifrost-analysis downcasts once and hands over a PythonGraphSource plus the PythonUsageSource the memoized Python products come from.

Modules§

extractor
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.
hits
inverted
Whole-workspace inverted edge builder for Python.
resolver
Python’s reference resolution: export-name and seed inference, receiver-type resolution, and annotation candidates.

Structs§

PythonGraphSource
The dispatching analyzer’s side of a Python usage-graph scan.