Package com.singularsys.jep.functions
Interface LValueI
- All Known Implementing Classes:
Ele
,ThreadSafeEle
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 ofa
to the value 5.
-
Method Summary
-
Method Details
-
set
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 LValuevalue
- the value obtained by evaluating the right-hand side.- Throws:
EvaluationException
- if the calculation cannot be performed
-