|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Context | |
|---|---|
| slogo.jelan | |
| slogo.jelan.expressions | |
| slogo.jelan.instructions | |
| Uses of Context in slogo.jelan |
|---|
| Methods in slogo.jelan with parameters of type Context | |
|---|---|
abstract java.lang.Object |
GrammarElement.evaluate(Context c)
Evaluate this language construct in some context. |
| Uses of Context in slogo.jelan.expressions |
|---|
| Methods in slogo.jelan.expressions with parameters of type Context | |
|---|---|
java.lang.Double |
Variable.evaluate(Context c)
|
java.lang.Double |
Expression.evaluate(Context c)
|
double |
BinaryExpression.leftValue(Context c)
|
double |
BinaryExpression.rightValue(Context c)
|
double |
Variable.value(Context c)
|
double |
UnaryExpression.value(Context c)
|
double |
Subtraction.value(Context c)
|
double |
Number.value(Context c)
|
double |
Negation.value(Context c)
|
double |
Multiplication.value(Context c)
|
abstract double |
Expression.value(Context c)
|
double |
Division.value(Context c)
|
double |
Addition.value(Context c)
|
| Uses of Context in slogo.jelan.instructions |
|---|
| Methods in slogo.jelan.instructions with parameters of type Context | |
|---|---|
java.lang.Object |
StrictInstructionList.evaluate(Context c)
Evaluate this instruction in a Context, return the result of the evaluation (the result is the last instruction executed). |
java.lang.Object |
Repeat.evaluate(Context c)
Evaluate this instruction in a Context. |
java.lang.Object |
Print.evaluate(Context c)
Evaluate the expression and println it. |
java.lang.Object |
Instruction.evaluate(Context c)
|
java.lang.Double |
Assignment.evaluate(Context c)
Evaluate the expression that's part of this instruction and update a global map/store to record the assignment of the expression to the variable. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||