Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SynTree/Declaration.h

    r8e9cbb2 r5d125e4  
    1010// Created On       : Mon May 18 07:44:20 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Thu Jun 30 21:17:24 2016
    13 // Update Count     : 38
     12// Last Modified On : Tue Jul 12 21:03:17 2016
     13// Update Count     : 39
    1414//
    1515
     
    210210        std::list<TypeDecl*>& get_parameters() { return parameters; }
    211211
     212        bool has_body() const { return body; }
     213        AggregateDecl * set_body( bool body ) { AggregateDecl::body = body; return this; }
     214
    212215        virtual void print( std::ostream &os, int indent = 0 ) const;
    213216        virtual void printShort( std::ostream &os, int indent = 0 ) const;
     
    218221        std::list<Declaration*> members;
    219222        std::list<TypeDecl*> parameters;
     223        bool body;
    220224};
    221225
     
    229233        virtual void accept( Visitor &v ) { v.visit( this ); }
    230234        virtual Declaration *acceptMutator( Mutator &m ) { return m.mutate( this ); }
    231 
    232235  private:
    233236        virtual std::string typeString() const;
Note: See TracChangeset for help on using the changeset viewer.