Package | Description |
---|---|
slogo.expression | |
slogo.instruction |
Modifier and Type | Class and Description |
---|---|
class |
Number
Represents a number
|
class |
Variable
A variable stores a value and can be used in an expression.
|
Constructor and Description |
---|
Addition(ArithmeticBase lhs,
ArithmeticBase rhs)
Represents an addition
|
BinaryExpression(ArithmeticBase lhs,
ArithmeticBase rhs)
construct a binary expression from two subexpressions
|
Division(ArithmeticBase lhs,
ArithmeticBase rhs)
Represents a division
|
Multiplication(ArithmeticBase lhs,
ArithmeticBase rhs)
Represents a multiplication
|
Repeat(ArithmeticBase e,
StrictInstructionList sil)
Constructs a Repeat instruction that can be executed.
|
Subtraction(ArithmeticBase lhs,
ArithmeticBase rhs)
Represents a subtraction
|