Package io.jmix.data.impl.jpql.tree
Class IdentificationVariableNode
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.IdentificationVariableNode
- 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 TypeMethodDescriptionvoid
deductFields
(QueryVariableContext queryVC, org.antlr.runtime.tree.CommonTree node, DomainModel model) org.antlr.runtime.tree.Tree
dupNode()
void
identifyVariableEntity
(DomainModel model, Deque<QueryVariableContext> stack, List<ErrorRec> invalidIdVarNodes) toString()
org.antlr.runtime.tree.CommonTree
treeToQueryPost
(QueryBuilder sb, List<ErrorRec> invalidNodes) Methods inherited from class io.jmix.data.impl.jpql.tree.BaseCustomNode
dupChildren, getNextNode, getPrevNode, treeToQueryPre
Methods inherited from class org.antlr.runtime.tree.CommonTree
getCharPositionInLine, getChildIndex, getLine, getParent, getText, getToken, getTokenStartIndex, getTokenStopIndex, getType, isNil, setChildIndex, setParent, setTokenStartIndex, setTokenStopIndex, setUnknownTokenBoundaries
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, toStringTree
-
Constructor Details
-
IdentificationVariableNode
-
-
Method Details
-
getVariableName
-
identifyVariableEntity
public void identifyVariableEntity(DomainModel model, Deque<QueryVariableContext> stack, List<ErrorRec> invalidIdVarNodes) -
deductFields
public void deductFields(QueryVariableContext queryVC, org.antlr.runtime.tree.CommonTree node, DomainModel model) -
toString
- Specified by:
toString
in interfaceorg.antlr.runtime.tree.Tree
- Overrides:
toString
in classorg.antlr.runtime.tree.CommonTree
-
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
-
treeToQueryPost
public org.antlr.runtime.tree.CommonTree treeToQueryPost(QueryBuilder sb, List<ErrorRec> invalidNodes) - Specified by:
treeToQueryPost
in interfaceTreeToQueryCapable
- Overrides:
treeToQueryPost
in classBaseCustomNode
-
getEntityNameFromQuery
-
getEffectiveEntityName
-