Methods Summary |
---|
public java.lang.Object | childrenAccept(AddressListParserVisitor visitor, java.lang.Object data)Accept the visitor.
if (children != null) {
for (int i = 0; i < children.length; ++i) {
children[i].jjtAccept(visitor, data);
}
}
return data;
|
public void | dump(java.lang.String prefix)
System.out.println(toString(prefix));
if (children != null) {
for (int i = 0; i < children.length; ++i) {
SimpleNode n = (SimpleNode)children[i];
if (n != null) {
n.dump(prefix + " ");
}
}
}
|
public java.lang.Object | jjtAccept(AddressListParserVisitor visitor, java.lang.Object data)Accept the visitor.
return visitor.visit(this, data);
|
public void | jjtAddChild(Node n, int i)
if (children == null) {
children = new Node[i + 1];
} else if (i >= children.length) {
Node c[] = new Node[i + 1];
System.arraycopy(children, 0, c, 0, children.length);
children = c;
}
children[i] = n;
|
public void | jjtClose()
|
public Node | jjtGetChild(int i)
return children[i];
|
public int | jjtGetNumChildren()
return (children == null) ? 0 : children.length;
|
public Node | jjtGetParent() return parent;
|
public void | jjtOpen()
|
public void | jjtSetParent(Node n) parent = n;
|
public java.lang.String | toString() return AddressListParserTreeConstants.jjtNodeName[id];
|
public java.lang.String | toString(java.lang.String prefix) return prefix + toString();
|