public interface Context
slogo.instruction.Instruction
can execute and modify/access the Context as appropriate.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
MAIN_TURTLE_NAME |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
value(java.lang.String name)
If there are local/global variables, a variable might have a different
value depending on the Context, so Contexts should support determining
the value of an identifier (this method may be superfluous).
|
static final java.lang.String MAIN_TURTLE_NAME
java.lang.Object value(java.lang.String name)
name
- identifier being evaluated in this Context