public class Right extends Instruction
Modifier and Type | Field and Description |
---|---|
private GrammarElement |
angle |
gelementsToValue
Constructor and Description |
---|
Right(GrammarElement e)
Represents a forward instruction
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
evaluate(Context c)
Evaluate this language construct in some context.
|
java.lang.String |
toString() |
private GrammarElement angle
public Right(GrammarElement e)
e
- the expression to negatepublic java.lang.String toString()
toString
in class java.lang.Object
public java.lang.Object evaluate(Context c)
GrammarElement
evaluate
in class Instruction
c
- is the Context of what we are evaluating