|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nfunk.jep.function.PostfixMathCommand
org.lsmp.djep.xjep.Eval
Symbolic eval(x^3,x,2) operator.
| Field Summary |
| Fields inherited from class org.nfunk.jep.function.PostfixMathCommand |
curNumberOfParameters, numberOfParameters |
| Constructor Summary | |
Eval()
Create a function that evaluates the lhs with values given on rhs. |
|
| Method Summary | |
Node |
process(Node node,
Node[] children,
XJep xjep)
Performs the specified action on an expression tree. |
void |
run(java.util.Stack s)
Should not be called by evaluator |
| Methods inherited from class org.nfunk.jep.function.PostfixMathCommand |
checkStack, getNumberOfParameters, setCurNumberOfParameters |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Eval()
| Method Detail |
public Node process(Node node,
Node[] children,
XJep xjep)
throws ParseException
CommandVisitorI
process in interface CommandVisitorInode - top node of the treechildren - the children of the node after they have been preprocessed.xjep - a reference to the current XJep interface.
ParseException
public void run(java.util.Stack s)
throws ParseException
run in interface PostfixMathCommandIrun in class PostfixMathCommandParseException - if run.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||