|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectptolemy.data.expr.ASTPtRootNode
ptolemy.data.expr.ASTPtPowerNode
public class ASTPtPowerNode
The parse tree created from the expression string consists of a hierarchy of node objects. This class represents exponentiation nodes in the parse tree. (the operator "^")
ASTPtRootNode
,
PtParser
,
Token
Red (cxh) |
Yellow (nsmyth) |
Field Summary |
---|
Fields inherited from class ptolemy.data.expr.ASTPtRootNode |
---|
_children, _id, _isConstant, _parent, _ptToken, _ptType |
Constructor Summary | |
---|---|
ASTPtPowerNode(int id)
|
|
ASTPtPowerNode(PtParser p,
int id)
|
Method Summary | |
---|---|
void |
visit(ParseTreeVisitor visitor)
Traverse this node with the given visitor. |
Methods inherited from class ptolemy.data.expr.ASTPtRootNode |
---|
clone, displayParseTree, evaluateParseTree, getToken, getType, isCongruent, isConstant, isEvaluated, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, setConstant, setToken, setType, toString, toString |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ASTPtPowerNode(int id)
public ASTPtPowerNode(PtParser p, int id)
Method Detail |
---|
public void visit(ParseTreeVisitor visitor) throws IllegalActionException
visit
in class ASTPtRootNode
IllegalActionException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |