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