|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectkoala.dynamicjava.interpreter.modifier.LeftHandSideModifier
koala.dynamicjava.interpreter.modifier.VariableModifier
This interface represents objets that modify a variable
Field Summary | |
protected QualifiedName |
name
The name of the variable |
protected java.lang.String |
representation
The representation of the variable |
protected java.lang.Class |
type
The type of this variable |
Constructor Summary | |
VariableModifier(QualifiedName name,
java.lang.Class type)
Creates a new variable modifier |
Method Summary | |
void |
modify(Context ctx,
java.lang.Object value)
Sets the value of the underlying left hand side expression |
java.lang.Object |
prepare(Visitor v,
Context ctx)
Prepares the modifier for modification |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected QualifiedName name
protected java.lang.Class type
protected java.lang.String representation
Constructor Detail |
public VariableModifier(QualifiedName name, java.lang.Class type)
name
- the node of that represents this variabletype
- the declared type of the variableMethod Detail |
public java.lang.Object prepare(Visitor v, Context ctx)
prepare
in class LeftHandSideModifier
public void modify(Context ctx, java.lang.Object value)
modify
in class LeftHandSideModifier
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |