public class SetPS extends Instruction
Modifier and Type | Field and Description |
---|---|
private GrammarElement |
expression |
gelementsToValue, subroutineNames
Constructor and Description |
---|
SetPS(GrammarElement e) |
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 expression
public SetPS(GrammarElement e)
e
- the argument to the expressionpublic java.lang.Object evaluate(Context c)
GrammarElement
evaluate
in class Instruction
c
- context in which the evaluation takes placepublic java.lang.String toString()
toString
in class java.lang.Object