Changes in src/SynTree/Declaration.h [2d019af:b66d14a]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/Declaration.h
r2d019af rb66d14a 10 10 // Created On : Mon May 18 07:44:20 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Fri Mar 12 18:35:36202113 // Update Count : 15 912 // Last Modified On : Mon Jan 11 20:48:39 2021 13 // Update Count : 158 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 421 402 class StaticAssertDecl : public Declaration { 422 403 public:
Note:
See TracChangeset
for help on using the changeset viewer.