Class ASTree

    • Constructor Detail

      • ASTree

        public ASTree()
    • Method Detail

      • getLeft

        public ASTree getLeft()
      • getRight

        public ASTree getRight()
      • setLeft

        public void setLeft​(ASTree _left)
      • setRight

        public void setRight​(ASTree _right)
      • accept

        public abstract void accept​(Visitor v)
                             throws CompileError
        Is a method for the visitor pattern. It calls atXXX() on the given visitor, where XXX is the class name of the node object.
        Throws:
        CompileError
      • getTag

        protected String getTag()
        Returns the type of this node. This method is used by toString().