Expand description
Canonical semantic IR types for downstream consumers.
This module provides a unified set of types that represent the semantic structure of a codebase — relationships between symbols, call graph edges, impact analysis nodes, and structured edit plans.
§Re-exports
Core types from other engine modules are re-exported here so that consumers can import everything from a single location:
use codelens_engine::ir::{SymbolInfo, Relation, ImpactNode, EditPlan};Re-exports§
pub use crate::circular::CircularDependency;pub use crate::git::ChangedFile;pub use crate::lsp::types::LspDiagnostic;pub use crate::rename::RenameEdit;pub use crate::search::SearchResult;pub use crate::symbols::RankedContextEntry;pub use crate::symbols::SymbolInfo;pub use crate::symbols::SymbolKind;
Structs§
- Edit
Action - A single edit action within an
EditPlan. - Edit
Plan - A structured edit plan for multi-file changes.
- Impact
Node - A node in an impact analysis graph.
- IrCall
Edge - A call graph edge with optional metadata.
- Relation
- A directed relationship between two symbols or files.
- Retrieval
Config - Configuration for a retrieval pipeline run.
- Retrieval
Weights - Weights for each retrieval signal in the rerank stage.
Enums§
- Edit
Action Kind - The kind of edit performed by an
EditAction. - Impact
Kind - How a file or symbol is affected by a change.
- Relation
Kind - The kind of directed relationship between two symbols or files.
- Retrieval
Stage - Describes a stage in the retrieval pipeline.