Changes in src/SynTree/Declaration.h [c0aa336:e994912]
- File:
-
- 1 edited
-
src/SynTree/Declaration.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/Declaration.h
rc0aa336 re994912 10 10 // Created On : Mon May 18 07:44:20 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Fri Jan 20 15:07:29201713 // Update Count : 5 312 // Last Modified On : Thu Feb 9 14:27:08 2017 13 // Update Count : 56 14 14 // 15 15 … … 304 304 }; 305 305 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 306 324 std::ostream & operator<<( std::ostream & out, const Declaration * decl ); 307 325 std::ostream & operator<<( std::ostream & os, const TypeDecl::Data & data );
Note:
See TracChangeset
for help on using the changeset viewer.