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 FUNCTION or SUB definition.
  • Components of a branch of a SELECT statement.
  • Components of a data statement.
  • Components of an array definition.
  • Components of a variable definition.
  • Components of a DO statement.
  • Components of a double literal expression.
  • Components of an END statement.
  • Components of an EXIT DO statement.
  • Components of a FOR statement.
  • Components of a GOTO or a GOSUB statement.
  • Components of a branch of an IF statement.
  • Components of an IF statement.
  • Components of an integer literal expression.
  • Components of a label “statement”.
  • Components of a RETURN statement.
  • Components of a SELECT statement.
  • 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 WHILE statement.

Enums§

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