Skip to main content

Module model

Module model 

Source
Expand description

Canonical symbol model and IR types.

Defines Symbol, UnresolvedImport, UnresolvedReference, FileExtraction, and supporting types (SymbolKind, Visibility, SourceRange, LineColumn). This is the core data model with zero knowledge of parsing, I/O, or language specifics.

Re-exports§

pub use ids::DataNodeId;
pub use ids::FileId;
pub use ids::IdGenerator;
pub use ids::SnapshotId;
pub use ids::SymbolId;
pub use output::ClassEntry;
pub use output::FuncEntry;
pub use output::InspectOutput;
pub use output::ObjectEntry;

Modules§

ids
Newtyped ID types with thread-safe generation.
output

Structs§

DataNode
A value-bearing node for def-use and flow analysis.
FileExtraction
FlowEdge
A def-use or dataflow edge between two DataNodes.
LineColumn
SourceRange
Symbol
UnresolvedImport
UnresolvedReference

Enums§

DataScope
Classification of a data-bearing entity’s visibility scope.
FlowKind
Semantic kind of a dataflow edge.
SymbolKind
Visibility