Expand description
AST infrastructure types
This module contains metadata types used throughout the parser and compiler:
Spanfor tracking source code locationsExpressionIdfor uniquely identifying AST nodesExpressionIdGeneratorfor generating unique IDs during parsing
Structsยง
- Expression
Id - Unique identifier for each expression in the AST
- Expression
IdGenerator - Counter for generating unique expression IDs
- Span
- Span representing a location in source code