Changeset 5407cdc for src/SynTree/Declaration.h
- Timestamp:
- Apr 28, 2021, 4:56:50 PM (4 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 8d66610
- Parents:
- feacef9 (diff), b7fd2db6 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/Declaration.h
rfeacef9 r5407cdc 10 10 // Created On : Mon May 18 07:44:20 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Mon Jan 11 20:48:39202113 // Update Count : 15 812 // Last Modified On : Fri Mar 12 18:35:36 2021 13 // Update Count : 159 14 14 // 15 15 … … 400 400 }; 401 401 402 class DirectiveDecl : public Declaration { 403 public: 404 DirectiveStmt * stmt; 405 406 DirectiveDecl( DirectiveStmt * stmt ); 407 DirectiveDecl( const DirectiveDecl & other ); 408 virtual ~DirectiveDecl(); 409 410 DirectiveStmt * get_stmt() { return stmt; } 411 void set_stmt( DirectiveStmt * newValue ) { stmt = newValue; } 412 413 virtual DirectiveDecl * clone() const override { return new DirectiveDecl( *this ); } 414 virtual void accept( Visitor & v ) override { v.visit( this ); } 415 virtual void accept( Visitor & v ) const override { v.visit( this ); } 416 virtual DirectiveDecl * acceptMutator( Mutator & m ) override { return m.mutate( this ); } 417 virtual void print( std::ostream & os, Indenter indent = {} ) const override; 418 virtual void printShort( std::ostream & os, Indenter indent = {} ) const override; 419 }; 420 402 421 class StaticAssertDecl : public Declaration { 403 422 public:
Note:
See TracChangeset
for help on using the changeset viewer.