Skip to main content

Module callgraph

Module callgraph 

Source
Expand description

Call graph engine: cross-file call resolution and forward traversal.

Builds a lazy, worktree-scoped call graph that resolves calls across files using import chains. Supports depth-limited forward traversal with cycle detection.

Structs§

CallGraph
Worktree-scoped call graph with lazy per-file construction.
CallSite
A single call site within a function body.
CallTreeNode
A node in the forward call tree.
CallerEntry
A single caller entry within a CallerGroup.
CallerGroup
A group of callers from a single file.
CallerSite
A single caller site: who calls a given symbol and from where.
CallersResult
Result of a callers_of query.
DataFlowHop
A single hop in a data flow trace.
FileCallData
Per-file call data: call sites grouped by containing symbol, plus exported symbol names and parsed imports.
ImpactCaller
A single caller in an impact analysis result.
ImpactResult
Result of an impact query — enriched callers analysis.
SymbolMeta
Per-symbol metadata for entry point detection (avoids re-parsing).
TraceDataResult
Result of a trace_data query — tracks how an expression flows through variable assignments and function parameters.
TraceHop
A single hop in a trace path.
TracePath
A complete path from an entry point to the target symbol (top-down).
TraceToResult
Result of a trace_to query.

Enums§

EdgeResolution
Result of resolving a cross-file call edge.

Functions§

extract_parameters
Extract parameter names from a function signature string.
is_entry_point
Determine whether a symbol is an entry point.
walk_project_files
Walk project files respecting .gitignore, excluding common non-source dirs.