Skip to main content

Module ir

Module ir 

Source
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§

EditAction
A single edit action within an EditPlan.
EditPlan
A structured edit plan for multi-file changes.
ImpactNode
A node in an impact analysis graph.
IrCallEdge
A call graph edge with optional metadata.
Relation
A directed relationship between two symbols or files.
RetrievalConfig
Configuration for a retrieval pipeline run.
RetrievalWeights
Weights for each retrieval signal in the rerank stage.

Enums§

EditActionKind
The kind of edit performed by an EditAction.
ImpactKind
How a file or symbol is affected by a change.
RelationKind
The kind of directed relationship between two symbols or files.
RetrievalStage
Describes a stage in the retrieval pipeline.