|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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 |
|---|
startIndex, stopIndex, token |
| Fields inherited from class org.antlr.runtime.tree.BaseTree |
|---|
children |
| Fields inherited from interface org.antlr.runtime.tree.Tree |
|---|
INVALID_NODE |
| Constructor Summary | |
|---|---|
ASTNode()
|
|
ASTNode(org.antlr.runtime.Token t)
Constructor. |
|
| Method Summary | |
|---|---|
String |
dump()
|
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 |
|---|
dupNode, getCharPositionInLine, getLine, getText, getToken, getTokenStartIndex, getTokenStopIndex, getType, isNil, setTokenStartIndex, setTokenStopIndex, toString |
| Methods inherited from class org.antlr.runtime.tree.BaseTree |
|---|
addChild, addChildren, createChildrenList, deleteChild, dupTree, getChild, getChildCount, getFirstChildWithType, setChild, toStringTree |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ASTNode()
public ASTNode(org.antlr.runtime.Token t)
t - Token for the CommonTree Node| Method Detail |
|---|
public ArrayList<Node> getChildren()
Node
getChildren in interface Nodepublic String getName()
Node
getName in interface Nodepublic 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 | |||||||||