Skip to main content

Module nodes

Module nodes 

Source
Expand description

Expression AST nodes.

An Expression is any construct that produces a value. Every expression node carries the source Span it was parsed from so that error reports and the LSP can point at exact locations.

§Resolved variants

After the Resolver pass runs, unresolved name-based variants (Identifier, Assign, Lambda) are replaced with their Resolved* counterparts that carry (depth, slot) integer pairs for direct environment lookup, eliminating runtime name searches.

Structs§

Expression
An expression paired with its source span.

Enums§

ExpressionKind