Skip to main content

Module call_graph

Module call_graph 

Source

Structs§

CallEdge
CalleeEntry
CallerEntry

Functions§

extract_calls
Parse a file and extract all call edges within each function.
extract_calls_from_source
Extract call edges from already-loaded source content (avoids re-reading disk).
get_callees
Find all functions called by function_name (optionally restricted to a file). Callee names are resolved to their definition files via the 6-stage cascade.
get_callers
Find all functions that call function_name across the project. Edges are resolved via the 6-stage confidence cascade when an import graph is available.
resolve_call_edges
Resolve callee names to their definition files using a 6-stage confidence cascade. Mutates edges in-place, setting resolved_file, confidence, and resolution_strategy.