Пример #1
0
 void instruction::display_indented(context & ctx, std::ostream & out, std::string indentation) const {
     out << indentation;
     display_head_impl(ctx, out);
     if (ctx.output_profile()) {
         out << " {";
         output_profile(ctx, out);
         out << '}';
     }
     out << "\n";
     display_body_impl(ctx, out, indentation);
 }
Пример #2
0
 void instruction::display_indented(execution_context const & _ctx, std::ostream & out, std::string indentation) const {
     out << indentation;
     rel_context const& ctx = _ctx.get_rel_context();
     display_head_impl(_ctx, out);
     if (ctx.output_profile()) {
         out << " {";
         output_profile(out);
         out << '}';
     }
     out << "\n";
     display_body_impl(_ctx, out, indentation);
 }