|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjsynoptic.parser.SimpleNode
jsynoptic.parser.ExpressionNode
jsynoptic.parser.NodeForUnaryOperation
public class NodeForUnaryOperation
| Field Summary |
|---|
| Fields inherited from class jsynoptic.parser.SimpleNode |
|---|
children, id, parent, parser |
| Constructor Summary | |
|---|---|
NodeForUnaryOperation(ExpressionParser p,
int id)
|
|
NodeForUnaryOperation(int id)
|
|
| Method Summary | |
|---|---|
java.lang.Number |
evaluate()
Evaluate the subtree under this node and return the computation result as a number |
| Methods inherited from class jsynoptic.parser.ExpressionNode |
|---|
clone, getVariables |
| Methods inherited from class jsynoptic.parser.SimpleNode |
|---|
dump, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, toString, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public NodeForUnaryOperation(int id)
public NodeForUnaryOperation(ExpressionParser p,
int id)
| Method Detail |
|---|
public java.lang.Number evaluate()
ExpressionNode
evaluate in class ExpressionNode
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||