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

Class callbacks_t

test/parser_rule.cpp:57–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected