public interface Context
slogo.instruction.Instruction
can execute and modify/access the Context as appropriate.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.
|
java.lang.Object value(java.lang.String name)
name
- identifier being evaluated in this Context