Module endbasic_core::ast
source · Expand description
Abstract Syntax Tree (AST) for the EndBASIC language.
Structs§
- Single argument to a builtin call statement.
- Components of an array assignment statement.
- Components of an assignment statement.
- Components of a binary operation expression.
- Components of a boolean literal expression.
- Components of a call statement or expression.
- Components of a
FUNCTIONorSUBdefinition. - Components of a branch of a
SELECTstatement. - Components of a data statement.
- Components of an array definition.
- Components of a variable definition.
- Components of a
DOstatement. - Components of a double literal expression.
- Components of an
ENDstatement. - Components of an
EXIT DOstatement. - Components of a
FORstatement. - Components of a
GOTOor aGOSUBstatement. - Components of a branch of an
IFstatement. - Components of an
IFstatement. - Components of an integer literal expression.
- Components of a label “statement”.
- Components of a
RETURNstatement. - Components of a
SELECTstatement. - Components of a symbol reference expression.
- Components of a string literal expression.
- Components of a unary operation expression.
- Represents a reference to a variable (which doesn’t have to exist).
- Components of a
WHILEstatement.
Enums§
- Types of separators between arguments to a
BuiltinCall. - Components of a
CASEguard. - Collection of relational operators that can appear in a
CASE ISguard.. - Type of the
DOloop. - Represents an expression and provides mechanisms to evaluate it.
- Represents type of an expression.
- Components of an
ON ERRORstatement. - Represents a statement in the program along all data to execute it.
- Represents an evaluated value.