Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SynTree/Declaration.h

    re994912 rc0aa336  
    1010// Created On       : Mon May 18 07:44:20 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Thu Feb  9 14:27:08 2017
    13 // Update Count     : 56
     12// Last Modified On : Fri Jan 20 15:07:29 2017
     13// Update Count     : 53
    1414//
    1515
     
    304304};
    305305
    306 class AsmDecl : public Declaration {
    307   public:
    308         AsmDecl( AsmStmt *stmt );
    309         AsmDecl( const AsmDecl &other );
    310         virtual ~AsmDecl();
    311 
    312         AsmStmt *get_stmt() { return stmt; }
    313         void set_stmt( AsmStmt *newValue ) { stmt = newValue; }
    314 
    315         virtual AsmDecl *clone() const { return new AsmDecl( *this ); }
    316         virtual void accept( Visitor &v ) { v.visit( this ); }
    317         virtual AsmDecl *acceptMutator( Mutator &m ) { return m.mutate( this ); }
    318         virtual void print( std::ostream &os, int indent = 0 ) const;
    319         virtual void printShort( std::ostream &os, int indent = 0 ) const;
    320   private:
    321         AsmStmt *stmt;
    322 };
    323 
    324306std::ostream & operator<<( std::ostream & out, const Declaration * decl );
    325307std::ostream & operator<<( std::ostream & os, const TypeDecl::Data & data );
Note: See TracChangeset for help on using the changeset viewer.