public class ASTPtFunctionalIfNode extends ASTPtRootNode
A functional if-then-else if of the form booleanToken ? token : token The token returned depends on the value of the boolean.
ASTPtRootNode,
PtParser,
Token| Red (cxh) |
| Yellow (nsmyth) |
_children, _id, _isConstant, _parent, _ptToken, _ptType| Constructor and Description |
|---|
ASTPtFunctionalIfNode(int id) |
ASTPtFunctionalIfNode(PtParser p,
int id) |
| Modifier and Type | Method and Description |
|---|---|
void |
visit(ParseTreeVisitor visitor)
Traverse this node with the given visitor.
|
clone, displayParseTree, evaluateParseTree, getToken, getType, isCongruent, isConstant, isEvaluated, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, setConstant, setToken, setType, toString, toStringpublic ASTPtFunctionalIfNode(int id)
public ASTPtFunctionalIfNode(PtParser p, int id)
public void visit(ParseTreeVisitor visitor) throws IllegalActionException
visit in class ASTPtRootNodeIllegalActionException