org.nfunk.jep.function
Interface LValueI

All Known Implementing Classes:
ArrayAccess, Ele, MArrayAccess

public interface LValueI

Author:
Richard Morris An interface for functions which can be used on the left hand side of an assignment. For instance a[3] = 5 sets the third element of a to the value 5.

Method Summary
 void set(EvaluatorI pv, Node node, java.lang.Object value)
          Performs appropriate action to set an LValue.
 

Method Detail

set

void set(EvaluatorI pv,
         Node node,
         java.lang.Object value)
         throws ParseException
Performs appropriate action to set an LValue.

Parameters:
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 LValue
value - the value obtained by evaluating the right hand side.
Throws:
ParseException


http://www.singularsys.com/jep Copyright © 2007 Singular Systems