- All Superinterfaces:
Serializable
- All Known Implementing Classes:
AdditiveExpressionSequence
, AndExpressionSequence
, ArrayLiteral
, ComparisonExpressionSequence
, CompleteExpression
, CompositeReference
, ConditionalExpression
, Elision
, FunctionCallParameters
, Identifier
, Literal
, MultiplicativeExpressionSequence
, Operator
, OrExpressionSequence
, PropertyIdentifierReference
, PropertyValueReference
, SimpleNode
, UnaryExpression
-
Method Summary
int
void
This method tells the node to add its argument to the node's
list of children.
void
This method is called after all the child nodes have been
added.
This method returns a child node.
int
void
This method is called after the node has been made the current
node.
void
Set the parent node of this node
-
Method Details
-
jjtOpen
void jjtOpen()
This method is called after the node has been made the current
node. It indicates that child nodes can now be added to it.
-
jjtClose
void jjtClose()
This method is called after all the child nodes have been
added.
-
jjtSetParent
void jjtSetParent(Node n)
Set the parent node of this node
- Parameters:
n
- parent node to set
-
jjtGetParent
- Returns:
- parent node
-
jjtAddChild
void jjtAddChild(Node n,
int i)
This method tells the node to add its argument to the node's
list of children.
- Parameters:
n
- node to add as a child
i
- zero-based index where to add the child
-
jjtGetChild
This method returns a child node. The children are numbered
from zero, left to right.
- Parameters:
i
- zero-baeed child index
-
jjtGetNumChildren
int jjtGetNumChildren()
- Returns:
- the number of children the node has. Always ≥ 0.
-
-