Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SynTree/Declaration.h

    r4040425 rbaf7fee  
    99// Author           : Richard C. Bilson
    1010// Created On       : Mon May 18 07:44:20 2015
    11 // Last Modified By : Peter A. Buhr
    12 // Last Modified On : Wed Mar  2 17:28:11 2016
    13 // Update Count     : 33
     11// Last Modified By : Rob Schluntz
     12// Last Modified On : Wed Dec 09 14:08:22 2015
     13// Update Count     : 32
    1414//
    1515
     
    246246};
    247247
    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 ); }
     248class 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 ); }
    255255        virtual void accept( Visitor &v ) { v.visit( this ); }
    256256        virtual Declaration *acceptMutator( Mutator &m ) { return m.mutate( this ); }
Note: See TracChangeset for help on using the changeset viewer.