Package io.jmix.data.impl.jpql.tree
Class QueryNode
java.lang.Object
org.antlr.runtime.tree.BaseTree
org.antlr.runtime.tree.CommonTree
io.jmix.data.impl.jpql.tree.BaseCustomNode
io.jmix.data.impl.jpql.tree.QueryNode
- All Implemented Interfaces:
TreeToQueryCapable,org.antlr.runtime.tree.Tree
-
Field Summary
Fields inherited from class org.antlr.runtime.tree.CommonTree
childIndex, parent, startIndex, stopIndex, tokenFields inherited from class org.antlr.runtime.tree.BaseTree
childrenFields inherited from interface org.antlr.runtime.tree.Tree
INVALID_NODE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancontains(int caret) org.antlr.runtime.tree.TreedupNode()org.antlr.runtime.tree.CommonTreetreeToQueryPost(QueryBuilder sb, List<ErrorRec> invalidNodes) org.antlr.runtime.tree.CommonTreetreeToQueryPre(QueryBuilder sb, List<ErrorRec> invalidNodes) Methods inherited from class io.jmix.data.impl.jpql.tree.BaseCustomNode
dupChildren, getNextNode, getPrevNodeMethods inherited from class org.antlr.runtime.tree.CommonTree
getCharPositionInLine, getChildIndex, getLine, getParent, getText, getToken, getTokenStartIndex, getTokenStopIndex, getType, isNil, setChildIndex, setParent, setTokenStartIndex, setTokenStopIndex, setUnknownTokenBoundaries, toStringMethods inherited from class org.antlr.runtime.tree.BaseTree
addChild, addChildren, createChildrenList, deleteChild, freshenParentAndChildIndexes, freshenParentAndChildIndexes, freshenParentAndChildIndexesDeeply, freshenParentAndChildIndexesDeeply, getAncestor, getAncestors, getChild, getChildCount, getChildren, getFirstChildWithType, hasAncestor, insertChild, replaceChildren, sanityCheckParentAndChildIndexes, sanityCheckParentAndChildIndexes, setChild
-
Constructor Details
-
QueryNode
public QueryNode(int type, org.antlr.runtime.Token token) -
QueryNode
public QueryNode(int type, org.antlr.runtime.Token token, org.antlr.runtime.Token lastToken)
-
-
Method Details
-
contains
public boolean contains(int caret) -
dupNode
public org.antlr.runtime.tree.Tree dupNode()- Specified by:
dupNodein interfaceorg.antlr.runtime.tree.Tree- Overrides:
dupNodein classorg.antlr.runtime.tree.CommonTree
-
toStringTree
- Specified by:
toStringTreein interfaceorg.antlr.runtime.tree.Tree- Overrides:
toStringTreein classorg.antlr.runtime.tree.BaseTree
-
treeToQueryPre
public org.antlr.runtime.tree.CommonTree treeToQueryPre(QueryBuilder sb, List<ErrorRec> invalidNodes) - Specified by:
treeToQueryPrein interfaceTreeToQueryCapable- Overrides:
treeToQueryPrein classBaseCustomNode
-
treeToQueryPost
public org.antlr.runtime.tree.CommonTree treeToQueryPost(QueryBuilder sb, List<ErrorRec> invalidNodes) - Specified by:
treeToQueryPostin interfaceTreeToQueryCapable- Overrides:
treeToQueryPostin classBaseCustomNode
-