|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.antlr.runtime.tree.BaseTree org.antlr.runtime.tree.CommonTree org.apache.hadoop.hive.ql.parse.ASTNode
public class ASTNode
Field Summary |
---|
Fields inherited from class org.antlr.runtime.tree.CommonTree |
---|
childIndex, parent, token |
Fields inherited from interface org.antlr.runtime.tree.Tree |
---|
INVALID_NODE |
Constructor Summary | |
---|---|
ASTNode()
|
|
ASTNode(ASTNode node)
|
|
ASTNode(org.antlr.runtime.Token t)
Constructor. |
Method Summary | |
---|---|
String |
dump()
|
org.antlr.runtime.tree.Tree |
dupNode()
|
ArrayList<Node> |
getChildren()
Gets the vector of children nodes. |
String |
getName()
Gets the name of the node. |
ASTNodeOrigin |
getOrigin()
|
void |
setOrigin(ASTNodeOrigin origin)
Tag this ASTNode with information about the object from which this node originated. |
Methods inherited from class org.antlr.runtime.tree.CommonTree |
---|
getCharPositionInLine, getChildIndex, getLine, getParent, getText, getToken, getTokenStartIndex, getTokenStopIndex, getType, isNil, setChildIndex, setParent, setTokenStartIndex, setTokenStopIndex, setUnknownTokenBoundaries, toString |
Methods inherited from class org.antlr.runtime.tree.BaseTree |
---|
addChild, addChildren, deleteChild, freshenParentAndChildIndexes, freshenParentAndChildIndexes, freshenParentAndChildIndexesDeeply, freshenParentAndChildIndexesDeeply, getAncestor, getAncestors, getChild, getChildCount, getFirstChildWithType, hasAncestor, insertChild, replaceChildren, sanityCheckParentAndChildIndexes, sanityCheckParentAndChildIndexes, setChild, toStringTree |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ASTNode()
public ASTNode(org.antlr.runtime.Token t)
t
- Token for the CommonTree Nodepublic ASTNode(ASTNode node)
Method Detail |
---|
public org.antlr.runtime.tree.Tree dupNode()
dupNode
in interface org.antlr.runtime.tree.Tree
dupNode
in class org.antlr.runtime.tree.CommonTree
public ArrayList<Node> getChildren()
Node
getChildren
in interface Node
getChildren
in class org.antlr.runtime.tree.BaseTree
public String getName()
Node
getName
in interface Node
public ASTNodeOrigin getOrigin()
public void setOrigin(ASTNodeOrigin origin)
public String dump()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |