- EOFToken - Class in slogo.parser.token
-
This represents an end-of-file token Uses the singleton pattern since there's
no reason to have more than one such token.
- EOLToken - Class in slogo.parser.token
-
This represents an end-of-line token.
- EQUAL - Static variable in class slogo.CharConsts
-
- equals(Object) - Method in class slogo.expression.Variable
-
Determines equality based on the Variable's name
- equals(Object) - Method in class slogo.parser.token.CharToken
-
- equals(Object) - Method in class slogo.parser.token.EOFToken
-
- equals(Object) - Method in class slogo.parser.token.EOLToken
-
- equals(Object) - Method in class slogo.parser.token.IdentifierToken
-
Determines if the other object is an IdentifierToken with the same id
- equals(IdentifierToken) - Method in class slogo.parser.token.IdentifierToken
-
- equals(Object) - Method in class slogo.parser.token.NumberToken
-
- equals(NumberToken) - Method in class slogo.parser.token.NumberToken
-
- equals(Object) - Method in class slogo.parser.token.ReservedToken
-
Determines equality by if these are both ReservedTokens with the same
value.
- equals(Object) - Method in class slogo.parser.token.VariableToken
-
- EqualToken - Class in slogo.parser.token
-
Represents = token
- error(Token) - Method in class slogo.SLogoInterpreter
-
- evaluate(Context) - Method in class slogo.expression.ArithmeticBase
-
- evaluate(Context) - Method in class slogo.expression.Variable
-
uses the hook/template method value to return a Double
- evaluate(Context) - Method in class slogo.GrammarElement
-
Evaluate this language construct in some context.
- evaluate(Context) - Method in class slogo.instruction.ArithmeticInstruction
-
uses the hook/template method value to return a Double
- evaluate(Context) - Method in class slogo.instruction.Assignment
-
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.
- evaluate(Context) - Method in class slogo.instruction.Instruction
-
- evaluate(Context) - Method in class slogo.instruction.Print
-
Evaluate the expression and println it.
- evaluate(Context) - Method in class slogo.instruction.Repeat
-
Evaluate this instruction in a Context.
- evaluate(Context) - Method in class slogo.instruction.StrictInstructionList
-
Evaluate this instruction in a Context, return the result of the
evaluation (the result is the last instruction executed).