Interface Node
Deprecated.
All AST nodes must implement this interface. It provides basic
machinery for constructing the parent and child relationships
between nodes.
Automatically generated by JJTree
- Author:
- Dazhi Jiao
- Keywords:
- SMARTS AST
- Created on:
- 2007-04-24
-
Method Summary
Modifier and TypeMethodDescriptionjjtAccept(SMARTSParserVisitor visitor, Object data) Deprecated.Accept the visitor.voidjjtAddChild(Node n, int i) Deprecated.This method tells the node to add its argument to the node's list of children.voidjjtClose()Deprecated.This method is called after all the child nodes have been added.jjtGetChild(int i) Deprecated.This method returns a child node.intDeprecated.Return the number of children the node has.Deprecated.voidjjtOpen()Deprecated.This method is called after the node has been made the current node.voidjjtRemoveChild(int i) Deprecated.Removes a child from this nodevoidjjtSetParent(Node n) Deprecated.This pair of methods are used to inform the node of its parent.
-
Method Details
-
jjtOpen
void jjtOpen()Deprecated.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()Deprecated.This method is called after all the child nodes have been added. -
jjtSetParent
Deprecated.This pair of methods are used to inform the node of its parent. -
jjtGetParent
Node jjtGetParent()Deprecated. -
jjtAddChild
Deprecated.This method tells the node to add its argument to the node's list of children. -
jjtGetChild
Deprecated.This method returns a child node. The children are numbered from zero, left to right. -
jjtGetNumChildren
int jjtGetNumChildren()Deprecated.Return the number of children the node has. -
jjtAccept
Deprecated.Accept the visitor. -
jjtRemoveChild
void jjtRemoveChild(int i) Deprecated.Removes a child from this node- Parameters:
i-
-