|
|||||||||||
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.ArrayModifier
This interface represents objets that modify an array
Field Summary | |
protected java.lang.Object |
array
The array reference |
protected java.util.List |
arrays
A list used to manage recursive calls |
protected java.lang.Number |
cell
The cell number |
protected java.util.List |
cells
A list used to manage recursive calls |
protected ArrayAccess |
node
The array expression |
Constructor Summary | |
ArrayModifier(ArrayAccess node)
Creates a new array 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 ArrayAccess node
protected java.lang.Object array
protected java.lang.Number cell
protected java.util.List arrays
protected java.util.List cells
Constructor Detail |
public ArrayModifier(ArrayAccess node)
node
- the node of that represents this arrayMethod 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 |