Changes in src/SynTree/AggregateDecl.cc [4559b34:943bfad]
- File:
-
- 1 edited
-
src/SynTree/AggregateDecl.cc (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/AggregateDecl.cc
r4559b34 r943bfad 59 59 } // if 60 60 os << " with body " << has_body(); 61 61 62 if ( ! parameters.empty() ) { 62 63 os << endl << indent << "... with parameters" << endl; … … 105 106 const char * EnumDecl::typeString() const { return aggrString( Enum ); } 106 107 107 void EnumDecl::print( std::ostream & os, Indenter indent ) const {108 AggregateDecl::print(os, indent);109 os << " with base? " << (base? "True" : "False") << std::endl;110 if ( base ) {111 os << "Base Type of Enum:" << std::endl;112 base->print(os, indent);113 }114 os << std::endl << "End of EnumDecl::print" << std::endl;115 }116 117 108 const char * TraitDecl::typeString() const { return aggrString( Trait ); } 118 109
Note:
See TracChangeset
for help on using the changeset viewer.