org.lsmp.djep.vectorJep
Class VectorEvaluator
java.lang.Object
org.nfunk.jep.EvaluatorVisitor
org.lsmp.djep.vectorJep.VectorEvaluator
- All Implemented Interfaces:
- EvaluatorI, ParserVisitor
public class VectorEvaluator
- extends EvaluatorVisitor
- Author:
- Rich Morris
Created on 10-Dec-2004
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VectorEvaluator
public VectorEvaluator()
visit
public Object visit(ASTFunNode node,
Object data)
throws ParseException
- Visit a function node. The values of the child nodes
are first pushed onto the stack. Then the function class associated
with the node is used to evaluate the function.
If a function implements SpecialEvaluationI then the
evaluate method of PFMC is called.
- Specified by:
visit in interface ParserVisitor- Overrides:
visit in class EvaluatorVisitor
- Throws:
ParseException
Copyright © 2014. All rights reserved.