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§
- Call
Graph - Worktree-scoped call graph with lazy per-file construction.
- Call
Site - A single call site within a function body.
- Call
Tree Node - A node in the forward call tree.
- Caller
Entry - A single caller entry within a CallerGroup.
- Caller
Group - A group of callers from a single file.
- Caller
Site - A single caller site: who calls a given symbol and from where.
- Callers
Result - Result of a
callers_ofquery. - Data
Flow Hop - A single hop in a data flow trace.
- File
Call Data - Per-file call data: call sites grouped by containing symbol, plus exported symbol names and parsed imports.
- Impact
Caller - A single caller in an impact analysis result.
- Impact
Result - Result of an
impactquery — enriched callers analysis. - Symbol
Meta - Per-symbol metadata for entry point detection (avoids re-parsing).
- Trace
Data Result - Result of a
trace_dataquery — tracks how an expression flows through variable assignments and function parameters. - Trace
Hop - A single hop in a trace path.
- Trace
Path - A complete path from an entry point to the target symbol (top-down).
- Trace
ToResult - Result of a
trace_toquery.
Enums§
- Edge
Resolution - 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.