MCPcopy Create free account
hub / github.com/boostorg/parser / callbacks_t

Class callbacks_t

test/tuple_aggregate.cpp:165–176  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

163};
164
165struct 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
178int main()
179{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected