Skip to main content

Module expr

Module expr 

Source
Expand description

Expression AST nodes.

Structs§

FieldInit
Field initialiser in a record literal: point { x: 1.0, y: 2.0 }.
MatchArm
A single arm in a match expression.

Enums§

AssignOp
Assignment operators.
BinOp
Binary operators in order of precedence (low → high, mirroring the spec table).
Expr
An expression.
Literal
A scalar literal value.
StringPart
A segment of a string-interpolation expression.
UnOp
Unary (prefix) operators.