|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--elan.GrammarElement
|
+--elan.instruction.Instruction
|
+--elan.instruction.Assignment
| Field Summary | |
protected Expression |
myExpression
|
protected Variable |
myVariable
|
| Fields inherited from class elan.GrammarElement |
functionMap, ourMap |
| Constructor Summary | |
Assignment(Variable v,
Expression e)
|
|
| Method Summary | |
java.lang.Object |
evaluate(Context c)
Evaluate this language construct in some context. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected Variable myVariable
protected Expression myExpression
| Constructor Detail |
public Assignment(Variable v,
Expression e)
| Method Detail |
public java.lang.Object evaluate(Context c)
GrammarElementevaluate in class Instructionelan.GrammarElementis - the context in which the evaluation takes placepublic java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||