|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Expression | |
---|---|
slogo.jelan.expressions | |
slogo.jelan.instructions |
Uses of Expression in slogo.jelan.expressions |
---|
Subclasses of Expression in slogo.jelan.expressions | |
---|---|
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., -expression |
class |
Number
|
class |
Subtraction
|
class |
UnaryExpression
|
class |
Variable
A variable stores a value and can be used in an expression. |
Constructors in slogo.jelan.expressions with parameters of type Expression | |
---|---|
Addition(Expression lhs,
Expression rhs)
|
|
BinaryExpression(Expression lhs,
Expression rhs)
construct a binary expression from two subexpressions |
|
Division(Expression lhs,
Expression rhs)
|
|
Multiplication(Expression lhs,
Expression rhs)
|
|
Negation(Expression e)
|
|
Subtraction(Expression lhs,
Expression rhs)
|
|
UnaryExpression(Expression e)
|
Uses of Expression in slogo.jelan.instructions |
---|
Constructors in slogo.jelan.instructions with parameters of type Expression | |
---|---|
Assignment(Variable v,
Expression e)
Construct an Assignment instruction from a variable and an expression, e.g., X = expression. |
|
Print(Expression e)
|
|
Repeat(Expression e,
StrictInstructionList sil)
Constructs a Repeat instruction that can be executed. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |