Class | Description |
---|---|
Addition |
Represents a + b, the addition of two expressions
|
ArithmeticInstruction | |
Assignment |
An assignment instruction assigns an expression to a variable, updating the
global state to reflect the assignment.
|
BinaryExpression |
The base class of any binary expression, e.g., a + b, a - b, or, in future
use, a < b and so on.
|
Division |
Represents a / b, the division of two expressions
|
Instruction |
Represents an instruction in the SLogo language
|
Multiplication |
Represents a x b, the multiplication of two expressions
|
Negation |
Represents unary minus, e.g., MINUS num OR -expression
|
The Print instruction prints an expression.
|
|
Repeat |
An AST (abstract syntax tree) for a SLogo REPEAT instruction.
|
StrictInstructionList |
A list of instructions that doesn't include a function definition.
|
Subtraction |
Represents a subtraction (e.g., lhs - rhs)
|
UnaryExpression |
Represents a unary expression
|