Expand description
Structs§
- An alias to another Ty
- A list of Meta decorators
- A compile-time constant
- A continue expression:
continue
- A user-defined sum type
- An expression, the beating heart of the language
- A list of Items
- Code, and the interface to that code
- A repeated Index expression: a[10, 20, 30][40, 50, 60]
- Anything that can appear at the top level of a File
- A local variable declaration Stmt
- A metadata decorator
- An ordered collection of Items
- A single parameter for a Function
- A
static
variable - An abstract statement, and associated metadata
- A user-defined product type
- A type expression
- The args and return value for a function pointer Type
- A tuple of Types
- An import of nonlocal Items
- A single Enum variant
Enums§
- A Binary operator
- Any of the different Expressions
- What kind of Item is this?
- A Literal: 0x42, 1e123, 2.4, “Hello”
- The kind of Member access
- Information attached to Metadata
- The contents of a Module, if they’re in the same file
- A single component of a Path
- Whether or not a Stmt is followed by a semicolon
- Information about a Type expression
- A Unary operator
- A tree of Item imports
- Whether the Variant has a C-like constant value, a tuple, or StructMembers