Skip to main content

Module call_edges

Module call_edges 

Source
Expand description

CALLS edge resolution — scope-aware name matching with import context.

Ported from builder.py::_build_call_edges, then extended with a namespace-import tier so that languages with explicit using/import directives (C#, Java, TS, Python, Go) disambiguate same-named symbols across namespaces. On dotnet/runtime this lifts CALLS resolution from ~9% to a meaningfully higher rate by pinning calls like Assert.True to the Assert class actually imported by the caller.

Structs§

CallEdge
One resolved caller → callee edge, with call-site line numbers.
CallResolutionStats
Aggregate counters describing how the resolver classified every call site in one build_call_edges pass — the measurement substrate the re-resolution phases (and the code_tree_stats dev bin) track.

Enums§

Resolution
The tier that pinned a call site to its target, best precision first.

Functions§

build_call_edges
Run the 5-tier resolution over every parsed function’s call sites.