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, token
Fields inherited from class org.antlr.runtime.tree.BaseTree
children
Fields inherited from interface org.antlr.runtime.tree.Tree
INVALID_NODE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
contains
(int caret) org.antlr.runtime.tree.Tree
dupNode()
org.antlr.runtime.tree.CommonTree
treeToQueryPost
(QueryBuilder sb, List<ErrorRec> invalidNodes) org.antlr.runtime.tree.CommonTree
treeToQueryPre
(QueryBuilder sb, List<ErrorRec> invalidNodes) Methods inherited from class io.jmix.data.impl.jpql.tree.BaseCustomNode
dupChildren, getNextNode, getPrevNode
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, 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:
dupNode
in interfaceorg.antlr.runtime.tree.Tree
- Overrides:
dupNode
in classorg.antlr.runtime.tree.CommonTree
-
toStringTree
- Specified by:
toStringTree
in interfaceorg.antlr.runtime.tree.Tree
- Overrides:
toStringTree
in classorg.antlr.runtime.tree.BaseTree
-
treeToQueryPre
public org.antlr.runtime.tree.CommonTree treeToQueryPre(QueryBuilder sb, List<ErrorRec> invalidNodes) - Specified by:
treeToQueryPre
in interfaceTreeToQueryCapable
- Overrides:
treeToQueryPre
in classBaseCustomNode
-
treeToQueryPost
public org.antlr.runtime.tree.CommonTree treeToQueryPost(QueryBuilder sb, List<ErrorRec> invalidNodes) - Specified by:
treeToQueryPost
in interfaceTreeToQueryCapable
- Overrides:
treeToQueryPost
in classBaseCustomNode
-