Class JJTreeNode

    • Field Detail

      • myOrdinal

        private int myOrdinal
      • first

        private Token first
        The following is added manually to enhance all tree nodes with attributes that store the first and last tokens corresponding to each node, as well as to print the tokens back to the specified output stream.
      • last

        private Token last
        The following is added manually to enhance all tree nodes with attributes that store the first and last tokens corresponding to each node, as well as to print the tokens back to the specified output stream.
      • whitingOut

        private boolean whitingOut
    • Constructor Detail

      • JJTreeNode

        public JJTreeNode​(int id)
    • Method Detail

      • jjtAddChild

        public void jjtAddChild​(Node n,
                                int i)
        Description copied from interface: Node
        This method tells the node to add its argument to the node's list of children.
        Specified by:
        jjtAddChild in interface Node
        Overrides:
        jjtAddChild in class SimpleNode
      • getOrdinal

        public int getOrdinal()
      • setOrdinal

        public void setOrdinal​(int o)
      • getFirstToken

        public Token getFirstToken()
      • setFirstToken

        public void setFirstToken​(Token t)
      • getLastToken

        public Token getLastToken()
      • setLastToken

        public void setLastToken​(Token t)
      • translateImage

        public java.lang.String translateImage​(Token t)
      • whiteOut

        java.lang.String whiteOut​(Token t)
      • print

        public void print​(Token t,
                          IO io)