Module ast

Source
Expand description

Abstract Syntax Tree (AST) for the EndBASIC language.

Structs§

ArgSpan
Single argument to a builtin call statement.
ArrayAssignmentSpan
Components of an array assignment statement.
AssignmentSpan
Components of an assignment statement.
BinaryOpSpan
Components of a binary operation expression.
BooleanSpan
Components of a boolean literal expression.
CallSpan
Components of a call statement or expression.
CallableSpan
Components of a FUNCTION or SUB definition.
CaseSpan
Components of a branch of a SELECT statement.
DataSpan
Components of a data statement.
DimArraySpan
Components of an array definition.
DimSpan
Components of a variable definition.
DoSpan
Components of a DO statement.
DoubleSpan
Components of a double literal expression.
EndSpan
Components of an END statement.
ExitDoSpan
Components of an EXIT DO statement.
ForSpan
Components of a FOR statement.
GotoSpan
Components of a GOTO or a GOSUB statement.
IfBranchSpan
Components of a branch of an IF statement.
IfSpan
Components of an IF statement.
IntegerSpan
Components of an integer literal expression.
LabelSpan
Components of a label “statement”.
ReturnSpan
Components of a RETURN statement.
SelectSpan
Components of a SELECT statement.
SymbolSpan
Components of a symbol reference expression.
TextSpan
Components of a string literal expression.
UnaryOpSpan
Components of a unary operation expression.
VarRef
Represents a reference to a variable (which doesn’t have to exist).
WhileSpan
Components of a WHILE statement.

Enums§

ArgSep
Types of separators between arguments to a BuiltinCall.
CaseGuardSpan
Components of a CASE guard.
CaseRelOp
Collection of relational operators that can appear in a CASE IS guard..
DoGuard
Type of the DO loop.
Expr
Represents an expression and provides mechanisms to evaluate it.
ExprType
Represents type of an expression.
OnErrorSpan
Components of an ON ERROR statement.
Statement
Represents a statement in the program along all data to execute it.
Value
Represents an evaluated value.