Skip to main content

Module ir

Module ir 

Source
Expand description

Intermediate Representation and Dependency Graph

Structs§

Annotation
A parsed # @… annotation attached to a node (spec/annotations.md).
DependsOn
A parsed depends_on block for one table scope (spec/linter.md §2).
IncludeStmt
Module
NodeId
SchemaField
One field’s schema: a type plus its constraint arguments (spec §2.10, C-030). Constraint values are expression nodes so bounds may use literals, env refs, and arithmetic; C-031 evaluates them during validation. default is parsed and stored; C-032 applies it. deprecated is static text (C-042): None is live, Some("") is a bare deprecated = true, Some(msg) carries the migration message.
TriviaComment
A source comment retained for lossless round-tripping.

Enums§

AnnotationKind
Annotation payloads (spec/annotations.md §2–§4).
Attachment
Where a comment belongs (spec/dual-syntax.md §7.2). Every comment receives exactly one attachment.
BinOp
InterpPart
Node
PatchOp
SemanticTag
Semantic-block tag for multi-line strings (spec §1.4.1).
Style
Layout style for output (spec/dual-syntax.md §8).
UnOp
Value