Class SimpleNode

  • All Implemented Interfaces:
    Node

    public class SimpleNode
    extends Object
    implements Node
    Redefines SimpleNode to allow access to additional information to the CQLCompiler Note: set the option BUILD_NODE_FILES=false to avoid that javacc generates a new SimpleNode.
    Since:
    Author:
    Mauricio Pazos (Axios Engineering)
    • Field Detail

      • parent

        protected Node parent
      • children

        protected Node[] children
      • id

        protected int id
      • token

        protected Token token
    • Constructor Detail

      • SimpleNode

        public SimpleNode​(int i)
      • SimpleNode

        public SimpleNode​(CQLParser p,
                          int i)
    • Method Detail

      • jjtOpen

        public void jjtOpen()
        Specified by:
        jjtOpen in interface Node
      • jjtClose

        public void jjtClose()
        Specified by:
        jjtClose in interface Node
      • jjtSetParent

        public void jjtSetParent​(Node n)
        Specified by:
        jjtSetParent in interface Node
      • jjtAddChild

        public void jjtAddChild​(Node n,
                                int i)
        Specified by:
        jjtAddChild in interface Node
      • jjtGetChild

        public Node jjtGetChild​(int i)
        Specified by:
        jjtGetChild in interface Node
      • toString

        public String toString()
        Specified by:
        toString in interface Node
        Overrides:
        toString in class Object
      • toString

        public String toString​(String prefix)
        Specified by:
        toString in interface Node
      • dump

        public void dump​(String prefix)
        Specified by:
        dump in interface Node
      • getType

        public int getType()
        Specified by:
        getType in interface Node
      • dispose

        public void dispose()
        Specified by:
        dispose in interface Node