| 651 | } |
| 652 | |
| 653 | std::string TD_TL_writer_cpp::gen_fetch_switch_case(const tl::tl_combinator *t, int arity) const { |
| 654 | assert(arity == 0); |
| 655 | return " case " + gen_class_name(t->name) + |
| 656 | "::ID:\n" |
| 657 | " return " + |
| 658 | gen_class_name(t->name) + "::fetch(p);\n"; |
| 659 | } |
| 660 | |
| 661 | std::string TD_TL_writer_cpp::gen_fetch_switch_end() const { |
| 662 | return " default:\n" |
nothing calls this directly
no outgoing calls
no test coverage detected