Package | Description |
---|---|
slogo.instruction |
Modifier and Type | Class and Description |
---|---|
class |
Addition
Represents a + b, the addition of two expressions
|
class |
BinaryExpression
The base class of any binary expression, e.g., a + b, a - b, or, in future
use, a < b and so on.
|
class |
Division
Represents a / b, the division of two expressions
|
class |
Multiplication
Represents a x b, the multiplication of two expressions
|
class |
Negation
Represents unary minus, e.g., MINUS num OR -expression
|
class |
Subtraction
Represents a subtraction (e.g., lhs - rhs)
|
class |
UnaryExpression
Represents a unary expression
|
Constructor and Description |
---|
Negation(ArithmeticInstruction e)
Represents a negation
|
UnaryExpression(ArithmeticInstruction e)
Represents a unary expression
|