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