Changes in src/SynTree/Declaration.h [4040425:baf7fee]
- File:
-
- 1 edited
-
src/SynTree/Declaration.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/Declaration.h
r4040425 rbaf7fee 9 9 // Author : Richard C. Bilson 10 10 // Created On : Mon May 18 07:44:20 2015 11 // Last Modified By : Peter A. Buhr12 // Last Modified On : Wed Mar 2 17:28:11 201613 // Update Count : 3 311 // Last Modified By : Rob Schluntz 12 // Last Modified On : Wed Dec 09 14:08:22 2015 13 // Update Count : 32 14 14 // 15 15 … … 246 246 }; 247 247 248 class TraitDecl : public AggregateDecl {249 typedef AggregateDecl Parent; 250 public: 251 TraitDecl( const std::string &name ) : Parent( name ) {}252 TraitDecl( const TraitDecl &other ) : Parent( other ) {}253 254 virtual TraitDecl *clone() const { return new TraitDecl( *this ); }248 class ContextDecl : public AggregateDecl { 249 typedef AggregateDecl Parent; 250 public: 251 ContextDecl( const std::string &name ) : Parent( name ) {} 252 ContextDecl( const ContextDecl &other ) : Parent( other ) {} 253 254 virtual ContextDecl *clone() const { return new ContextDecl( *this ); } 255 255 virtual void accept( Visitor &v ) { v.visit( this ); } 256 256 virtual Declaration *acceptMutator( Mutator &m ) { return m.mutate( this ); }
Note:
See TracChangeset
for help on using the changeset viewer.