Class Symbol

    • Field Detail

      • identifier

        protected String identifier
    • Constructor Detail

      • Symbol

        public Symbol​(String sym)
    • Method Detail

      • accept

        public void accept​(Visitor v)
                    throws CompileError
        Description copied from class: ASTree
        Is a method for the visitor pattern. It calls atXXX() on the given visitor, where XXX is the class name of the node object.
        Specified by:
        accept in class ASTree
        Throws:
        CompileError