Changes in src/AST/Print.cpp [76ed81f:461046f]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/AST/Print.cpp
r76ed81f r461046f 495 495 496 496 virtual const ast::TypeSubstitution * visit( const ast::TypeSubstitution * node ) { 497 os << indent << "Types:" << std::endl;498 for ( const auto& i : *node ) {499 os << indent+1 << i.first << " -> ";500 indent += 2;501 i.second->accept( *this );502 indent -= 2;503 os << std::endl;504 }505 os << indent << "Non-types:" << std::endl;506 for ( auto i = node->beginVar(); i != node->endVar(); ++i ) {507 os << indent+1 << i->first << " -> ";508 indent += 2;509 i->second->accept( *this );510 indent -= 2;511 os << std::endl;512 }513 497 return node; 514 498 }
Note: See TracChangeset
for help on using the changeset viewer.