|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.tranql.ql.AbstractNode
public abstract class AbstractNode
This is the base class of the node type used in the abstract syntax tree.
Constructor Summary | |
---|---|
AbstractNode()
|
Method Summary | |
---|---|
Node |
addChild(Node child)
|
Node |
getChild()
|
Node |
getSibling()
|
boolean |
isOnlyChild()
|
void |
setSibling(Node sibling)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.tranql.ql.Node |
---|
visit |
Constructor Detail |
---|
public AbstractNode()
Method Detail |
---|
public Node getSibling()
getSibling
in interface Node
public void setSibling(Node sibling)
setSibling
in interface Node
public Node getChild()
getChild
in interface Node
public Node addChild(Node child)
addChild
in interface Node
public boolean isOnlyChild()
isOnlyChild
in interface Node
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |