Structs§
- Assign
- An assignment operation.
- Atom
- An atom constant.
- Binary
- A binary operation.
- Block
- A code block.
- Bool
- A boolean constant.
- Break
- A
break
statement. - Call
- A function call.
- Continue
- A
continue
statement. - Else
- An
else
branch. - ElseIf
- An
else if
branch. - Fun
- A function declaration.
- Ident
- An identifier literal.
- If
- An
if
statement. - Inline
Fun - An inline function.
- ListLit
- A list literal.
- MapLit
- A map literal.
- None
- A
none
value. - Num
- A number constant.
- Range
- A range operation.
- Return
- A
return
statement. - Str
- A string literal.
- Struct
- A struct declaration.
- Struct
Prop - A property of a struct.
- Unary
- A unary operation.
- Var
- A variable declaration.
- VarPattern
List - A pattern to match in a variable.
- VarPattern
Map - A pattern to match in a variable.
- While
- A
while
statement.
Enums§
- Assign
Op - An assignment operator.
- Binary
Op - A operator which takes two operands.
- Expr
- An xlang expression.
- IfBranch
- A branch from an
if
statement. - MapPair
- A key and value in a map literal.
- NumKind
- The kind of a number.
- Pattern
Expr - A pattern expression to match.
- RangeOp
- An operator used to create a range.
- Struct
Member - A member of a struct.
- UnaryOp
- An operator which takes only one operand.
- VarDeco
- The decorator used to initialize a variable.
- VarKind
- The kind of a variable.
Traits§
- Locate
- A trait which can locate an expression in its source file.
Type Aliases§
- Loc
- The location of an expression.