smacs.sql.syntaxtree
Class NodeChoice
java.lang.Object
smacs.sql.syntaxtree.NodeChoice
- All Implemented Interfaces:
- Node, Serializable
- public class NodeChoice
- extends Object
- implements Node
Represents a grammar choice, e.g. ( A | B )
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
choice
public Node choice
which
public int which
NodeChoice
public NodeChoice(Node node)
NodeChoice
public NodeChoice(Node node,
int whichChoice)
accept
public void accept(Visitor v)
- Specified by:
accept in interface Node
accept
public Object accept(ObjectVisitor v,
Object argu)
- Specified by:
accept in interface Node
setParent
public void setParent(Node n)
- Specified by:
setParent in interface Node
getParent
public Node getParent()
- Specified by:
getParent in interface Node