public class QueryNode extends BaseCustomNode
Constructor and Description |
---|
QueryNode(int type,
org.antlr.runtime.Token token) |
QueryNode(int type,
org.antlr.runtime.Token token,
org.antlr.runtime.Token lastToken) |
Modifier and Type | Method and Description |
---|---|
boolean |
contains(int caret) |
org.antlr.runtime.tree.Tree |
dupNode() |
java.lang.String |
toStringTree() |
org.antlr.runtime.tree.CommonTree |
treeToQueryPost(QueryBuilder sb,
java.util.List<ErrorRec> invalidNodes) |
org.antlr.runtime.tree.CommonTree |
treeToQueryPre(QueryBuilder sb,
java.util.List<ErrorRec> invalidNodes) |
getCharPositionInLine, getChildIndex, getLine, getParent, getText, getToken, getTokenStartIndex, getTokenStopIndex, getType, isNil, setChildIndex, setParent, setTokenStartIndex, setTokenStopIndex, setUnknownTokenBoundaries, toString
addChild, addChildren, deleteChild, freshenParentAndChildIndexes, freshenParentAndChildIndexes, freshenParentAndChildIndexesDeeply, freshenParentAndChildIndexesDeeply, getAncestor, getAncestors, getChild, getChildCount, getChildren, getFirstChildWithType, hasAncestor, insertChild, replaceChildren, sanityCheckParentAndChildIndexes, sanityCheckParentAndChildIndexes, setChild
public QueryNode(int type, org.antlr.runtime.Token token)
public QueryNode(int type, org.antlr.runtime.Token token, org.antlr.runtime.Token lastToken)
public boolean contains(int caret)
public org.antlr.runtime.tree.Tree dupNode()
dupNode
in interface org.antlr.runtime.tree.Tree
dupNode
in class org.antlr.runtime.tree.CommonTree
public java.lang.String toStringTree()
toStringTree
in interface org.antlr.runtime.tree.Tree
toStringTree
in class org.antlr.runtime.tree.BaseTree
public org.antlr.runtime.tree.CommonTree treeToQueryPre(QueryBuilder sb, java.util.List<ErrorRec> invalidNodes)
treeToQueryPre
in interface TreeToQueryCapable
treeToQueryPre
in class BaseCustomNode
public org.antlr.runtime.tree.CommonTree treeToQueryPost(QueryBuilder sb, java.util.List<ErrorRec> invalidNodes)
treeToQueryPost
in interface TreeToQueryCapable
treeToQueryPost
in class BaseCustomNode