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

Class callbacks_t

test/parser_rule_with_params.cpp:60–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58{};
59
60struct callbacks_t
61{
62 void operator()(callback_vector_rule_tag, std::vector<char> && vec) const
63 {
64 all_results.push_back(std::move(vec));
65 }
66 void operator()(callback_void_rule_tag) const
67 {
68 void_callback_called = true;
69 }
70
71 mutable std::vector<std::vector<char>> all_results;
72 mutable bool void_callback_called = false;
73};
74
75int main()
76{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected