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

public class QueryNode extends BaseCustomNode
  • 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

    Constructors
    Constructor
    Description
    QueryNode(int type, org.antlr.runtime.Token token)
     
    QueryNode(int type, org.antlr.runtime.Token token, org.antlr.runtime.Token lastToken)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    contains(int caret)
     
    org.antlr.runtime.tree.Tree
     
     
    org.antlr.runtime.tree.CommonTree
     
    org.antlr.runtime.tree.CommonTree
     

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • 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 interface org.antlr.runtime.tree.Tree
      Overrides:
      dupNode in class org.antlr.runtime.tree.CommonTree
    • toStringTree

      public String toStringTree()
      Specified by:
      toStringTree in interface org.antlr.runtime.tree.Tree
      Overrides:
      toStringTree in class org.antlr.runtime.tree.BaseTree
    • treeToQueryPre

      public org.antlr.runtime.tree.CommonTree treeToQueryPre(QueryBuilder sb, List<ErrorRec> invalidNodes)
      Specified by:
      treeToQueryPre in interface TreeToQueryCapable
      Overrides:
      treeToQueryPre in class BaseCustomNode
    • treeToQueryPost

      public org.antlr.runtime.tree.CommonTree treeToQueryPost(QueryBuilder sb, List<ErrorRec> invalidNodes)
      Specified by:
      treeToQueryPost in interface TreeToQueryCapable
      Overrides:
      treeToQueryPost in class BaseCustomNode