Changeset bb8ea30 for src/SynTree/Expression.cc
- Timestamp:
- May 13, 2016, 1:22:24 PM (8 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, gc_noraii, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- d668182
- Parents:
- 9243a501
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/Expression.cc
r9243a501 rbb8ea30 10 10 // Created On : Mon May 18 07:44:20 2015 11 11 // Last Modified By : Rob Schluntz 12 // Last Modified On : Wed May 04 12:14:09 201612 // Last Modified On : Fri May 13 13:19:09 2016 13 13 // Update Count : 40 14 14 // … … 75 75 constant.print( os ); 76 76 Expression::print( os, indent ); 77 os << std::endl;78 77 } 79 78 … … 323 322 os << ", from aggregate: "; 324 323 if (agg != 0) { 324 os << std::string( indent + 2, ' ' ); 325 325 agg->print(os, indent + 2); 326 326 } … … 358 358 os << std::string( indent, ' ' ) << "from aggregate: " << std::endl; 359 359 if (agg != 0) { 360 os << std::string( indent + 2, ' ' ); 360 361 agg->print(os, indent + 2); 361 362 } … … 379 380 void UntypedExpr::print( std::ostream &os, int indent ) const { 380 381 os << "Applying untyped: " << std::endl; 381 os << std::string( indent+ 4, ' ' );382 function->print(os, indent + 4);382 os << std::string( indent+2, ' ' ); 383 function->print(os, indent + 2); 383 384 os << std::string( indent, ' ' ) << "...to: " << std::endl; 384 printAll(args, os, indent + 4);385 printAll(args, os, indent + 2); 385 386 Expression::print( os, indent ); 386 387 }
Note: See TracChangeset
for help on using the changeset viewer.