public interface Node extends Serializable
| Modifier and Type | Method and Description |
|---|---|
int |
getId() |
void |
jjtAddChild(Node n,
int i)
This method tells the node to add its argument to the node's
list of children.
|
void |
jjtClose()
This method is called after all the child nodes have been
added.
|
Node |
jjtGetChild(int i)
This method returns a child node.
|
int |
jjtGetNumChildren() |
Node |
jjtGetParent() |
void |
jjtOpen()
This method is called after the node has been made the current
node.
|
void |
jjtSetParent(Node n)
Set the parent node of this node
|
void jjtOpen()
void jjtClose()
void jjtSetParent(Node n)
n - parent node to setNode jjtGetParent()
void jjtAddChild(Node n, int i)
n - node to add as a childi - zero-based index where to add the childNode jjtGetChild(int i)
i - zero-baeed child indexint jjtGetNumChildren()
int getId()
Copyright © 2022. All rights reserved.