|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MatrixSpecialEvaluationI
If a function requires a special form of evaluation it should implement this interface.
Method Summary | |
---|---|
MatrixValueI |
evaluate(MatrixNodeI node,
MatrixEvaluator visitor,
MatrixJep jep)
Returns the result of evaluating this node and the tree below. |
Method Detail |
---|
MatrixValueI evaluate(MatrixNodeI node, MatrixEvaluator visitor, MatrixJep jep) throws ParseException
MatrixValueI val = (MatrixValueI) node.jjtGetChild(i).jjtAccept(visitor,null);for each child.
The final results should be copied into the mvalue field of the node using
MatrixValueI mvalue = node.getMValue(); mvalue.setEles(res); return mvalue;
node
- The top node.visitor
- The parser visitorjep
- The current MatrixJep instance.
ParseException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |