Expand description
The Expr graph: the checked-form representation of source.
The kernel defines the expression graph, number literals, quote modes, and source-origin tracking; general-purpose codecs in library crates round-trip every expression through this shared graph.
Structs§
- Located
Expr - An
Exprpaired with its optional sourceOrigin. - Located
Expr Tree - A located expression together with its located children.
- Number
Literal - A number literal: a domain symbol plus its canonical textual form.
- Origin
- Source provenance of an expression: which codec, source, span, and trivia.
- Source
Id - Opaque identifier of a registered source.
- Source
Registry - A store mapping each
SourceIdto its raw source bytes. - Span
- A half-open byte range
[start, end)within a source.
Enums§
- Canonical
Key - A normalized, comparable key derived from an
Expr. - Expr
- The codec-neutral expression graph: the checked form of source.
- Quote
Mode - The quoting mode attached to a
Expr::Quoteform. - Trivia
- Non-semantic source trivia preserved alongside an expression.