|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Context | |
---|---|
slogo.expression | |
slogo.instruction | |
slogo.instruction.arithmetic | |
slogo.instruction.conditional | |
slogo.instruction.drawing | |
slogo.language | |
slogo.parser | This package is responsible for parsing the language SLogo. |
Uses of Context in slogo.expression |
---|
Methods in slogo.expression with parameters of type Context | |
---|---|
java.lang.Double |
Variable.evaluate(Context c)
|
java.lang.Double |
Expression.evaluate(Context c)
|
double |
Number.value(Context c)
|
double |
Variable.value(Context c)
|
abstract double |
Expression.value(Context c)
|
Uses of Context in slogo.instruction |
---|
Methods in slogo.instruction with parameters of type Context | |
---|---|
java.lang.Object |
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. |
java.lang.Object |
To.evaluate(Context c)
|
java.lang.Object |
Instruction.evaluate(Context c)
|
java.lang.Object |
If.evaluate(Context c)
Evaluate the IF instruction in a Context. |
java.lang.Object |
Repeat.evaluate(Context c)
Evaluate this instruction in a Context. |
java.lang.Object |
Subroutine.evaluate(Context c)
|
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). |
static int |
Instruction.evaluateNumericExpression(GrammarElement elem,
Context c)
|
Uses of Context in slogo.instruction.arithmetic |
---|
Methods in slogo.instruction.arithmetic with parameters of type Context | |
---|---|
abstract java.lang.Double |
NumericInstruction.evaluate(Context c)
|
java.lang.Object |
Negation.evaluate(Context c)
|
java.lang.Double |
Multiplication.evaluate(Context c)
|
java.lang.Double |
Division.evaluate(Context c)
|
java.lang.Double |
Remainder.evaluate(Context c)
|
java.lang.Double |
Subtraction.evaluate(Context c)
|
java.lang.Double |
Addition.evaluate(Context c)
|
double |
ArithmeticInstruction.leftValue(Context c)
|
double |
ArithmeticInstruction.rightValue(Context c)
|
double |
UnaryExpression.value(Context c)
|
Uses of Context in slogo.instruction.conditional |
---|
Methods in slogo.instruction.conditional with parameters of type Context | |
---|---|
java.lang.Integer |
Equal.evaluate(Context c)
|
java.lang.Integer |
Less.evaluate(Context c)
|
java.lang.Integer |
NotEqual.evaluate(Context c)
|
abstract java.lang.Integer |
ConditionalInstruction.evaluate(Context c)
|
java.lang.Integer |
Greater.evaluate(Context c)
|
int |
ConditionalInstruction.firstValue(Context c)
|
int |
ConditionalInstruction.secondValue(Context c)
|
Uses of Context in slogo.instruction.drawing |
---|
Methods in slogo.instruction.drawing with parameters of type Context | |
---|---|
java.lang.Object |
Left.evaluate(Context c)
turns the turtle counterclockwise by the specified angle |
java.lang.Object |
HideTurtle.evaluate(Context c)
makes the turtle invisible |
java.lang.Object |
SetY.evaluate(Context c)
moves the turtle vertically to a new absolute vertical coordinate. |
java.lang.Double |
Heading.evaluate(Context c)
|
abstract java.lang.Object |
OneParameterInstruction.evaluate(Context c)
|
java.lang.Object |
IsPenDown.evaluate(Context c)
returns 1 (:TRUE) if the pen is down, 0 (:FALSE) if it's up. |
java.lang.Double |
YCor.evaluate(Context c)
|
java.lang.Object |
PenUp.evaluate(Context c)
|
java.lang.Object |
Right.evaluate(Context c)
|
java.lang.Object |
ClearScreen.evaluate(Context c)
erases the drawing area and sends the turtle to the home position (Like CLEAN and HOME) |
java.lang.Object |
ShowTurtle.evaluate(Context c)
|
java.lang.Object |
Forward.evaluate(Context c)
|
java.lang.Object |
SetPenColor.evaluate(Context c)
Sets the turtle's pen color |
java.lang.Object |
SetXY.evaluate(Context c)
|
java.lang.Object |
Towards.evaluate(Context c)
|
java.lang.Object |
SetX.evaluate(Context c)
moves the turtle horizontally to a new absolute horizontal coordinate |
java.lang.Object |
Home.evaluate(Context c)
|
java.lang.Object |
Back.evaluate(Context c)
|
java.lang.Double |
XCor.evaluate(Context c)
|
java.lang.Object |
Clean.evaluate(Context c)
|
java.lang.Object |
PenDown.evaluate(Context c)
|
Uses of Context in slogo.language |
---|
Classes in slogo.language that implement Context | |
---|---|
class |
SLogoContext
Class that implements the Context interface. |
Methods in slogo.language 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.parser |
---|
Methods in slogo.parser that return Context | |
---|---|
Context |
SLogoParser.getContext()
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |