Expand description
AnalysisContext - Unified initialization for code analysis structures.
Provides a single entry point for constructing SymbolRegistry, CodeGraphV2, and optionally DataFlowGraph from source files.
§Example
ⓘ
use ryo_analysis::AnalysisContext;
// Production: Use from_workspace_root (recommended)
let ctx = AnalysisContext::from_workspace_root("/path/to/project")?;
// Access components
let symbol = ctx.registry.lookup(&path);
let callers = ctx.code_graph.callers_of(symbol_id);Structs§
- Analysis
Config - Configuration for context building.
- Analysis
Context - Unified context containing all analysis structures.
- Context
Snapshot - Snapshot of context state for rollback.
- Execution
Context - Context for parallel Mutation execution.
Enums§
- Context
Error - Error type for AnalysisContext operations.
Type Aliases§
- ImHash
Map - Persistent HashMap with O(log n) clone via structural sharing.