Skip to main content

Module graph

Module graph 

Source
Expand description

The CodeGraph trait seam and shared graph types.

SymbolRef and Neighborhood live here so that rinne-loop/rinne-conductor can depend on the trait without depending on rinne-graph. The concrete implementation lives in rinne-graph behind a Mutex<Store>.

Structs§

Neighborhood
The structural neighborhood of a symbol: its definition site plus all callers, callees, and imports known to the index.
SymbolRef
A lightweight reference to a symbol: name, file path, and 1-based line span.

Traits§

CodeGraph
Read-only view over the code graph. Implementations must be Send + Sync so they can be shared across async task boundaries.