| 163 | }; |
| 164 | |
| 165 | struct callbacks_t |
| 166 | { |
| 167 | void operator()(s0_rule_tag, s0 s) const { s0s.push_back(std::move(s)); } |
| 168 | void operator()(s1_rule_a_tag, s1 s) const { s1s.push_back(std::move(s)); } |
| 169 | void operator()(s1_rule_b_tag, s1 s) const { s1s.push_back(std::move(s)); } |
| 170 | void operator()(s2_rule_a_tag, s2 s) const { s2s.push_back(std::move(s)); } |
| 171 | void operator()(s2_rule_b_tag, s2 s) const { s2s.push_back(std::move(s)); } |
| 172 | |
| 173 | mutable std::vector<s0> s0s; |
| 174 | mutable std::vector<s1> s1s; |
| 175 | mutable std::vector<s2> s2s; |
| 176 | }; |
| 177 | |
| 178 | int main() |
| 179 | { |
nothing calls this directly
no outgoing calls
no test coverage detected