public class ArrayAccess extends VEle implements LValueI
a=[1,2,3];
a[2]=4;
b=[[1,2],[3,4]];
b[2,1]=5;
Constructor and Description |
---|
ArrayAccess() |
Modifier and Type | Method and Description |
---|---|
void |
set(EvaluatorI pv,
Node node,
Object value)
Sets the LValue.
|
checkNumberOfParameters, getNumberOfParameters, setCurNumberOfParameters
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
checkNumberOfParameters, getNumberOfParameters, setCurNumberOfParameters
public void set(EvaluatorI pv, Node node, Object value) throws ParseException
set
in interface LValueI
pv
- a pointer to the evaluator. The pv.eval() method can be used to evaluate the children of the node.node
- The top node for the LValuevalue
- the value obtained by evaluating the right hand side.ParseException
Jas4pp 1.5 © Java Analysis Studio for Particle Physics