public class RpEvaluator extends java.lang.Object implements Evaluator
RpEval class directly.| Constructor and Description |
|---|
RpEvaluator(boolean updateJepVariables)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
eval(Node node)
Evaluates a sub expression.
|
java.lang.Object |
evaluate(Node node)
Main entry point, evaluates a node and returns and object with the value of the node.
|
JepComponent |
getLightWeightInstance()
Gets a light-weight instance suitable for using in multiple threads.
|
RpEval |
getRpe() |
void |
init(Jep jep)
Initialize the component.
|
void |
updateJepVariables() |
public RpEvaluator(boolean updateJepVariables)
updateJepVariables - whether to update jep variable after each call to evaluatepublic java.lang.Object eval(Node node) throws EvaluationException
EvaluatorCallbackEvaluationIeval in interface Evaluatornode - node to evaluateEvaluationException - if errors occur during evaluation;public java.lang.Object evaluate(Node node) throws EvaluationException
Evaluatorevaluate in interface Evaluatornode - node to evaluateEvaluationException - if errors occur during evaluation;public JepComponent getLightWeightInstance()
JepComponentgetLightWeightInstance in interface JepComponentpublic void init(Jep jep)
JepComponentinit in interface JepComponentjep - the current Jep instancepublic RpEval getRpe()
public void updateJepVariables()
Copyright © 2018 Singular Systems http://www.singularsys.com/jep