Changes in src/SynTree/Declaration.h [8e9cbb2:5d125e4]
- File:
-
- 1 edited
-
src/SynTree/Declaration.h (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/Declaration.h
r8e9cbb2 r5d125e4 10 10 // Created On : Mon May 18 07:44:20 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : T hu Jun 30 21:17:24201613 // Update Count : 3 812 // Last Modified On : Tue Jul 12 21:03:17 2016 13 // Update Count : 39 14 14 // 15 15 … … 210 210 std::list<TypeDecl*>& get_parameters() { return parameters; } 211 211 212 bool has_body() const { return body; } 213 AggregateDecl * set_body( bool body ) { AggregateDecl::body = body; return this; } 214 212 215 virtual void print( std::ostream &os, int indent = 0 ) const; 213 216 virtual void printShort( std::ostream &os, int indent = 0 ) const; … … 218 221 std::list<Declaration*> members; 219 222 std::list<TypeDecl*> parameters; 223 bool body; 220 224 }; 221 225 … … 229 233 virtual void accept( Visitor &v ) { v.visit( this ); } 230 234 virtual Declaration *acceptMutator( Mutator &m ) { return m.mutate( this ); } 231 232 235 private: 233 236 virtual std::string typeString() const;
Note:
See TracChangeset
for help on using the changeset viewer.