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

Method diagnose

include/boost/parser/error_handling.hpp:325–338  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

323
324 template<typename Context, typename Iter>
325 void default_error_handler::diagnose(
326 diagnostic_kind kind,
327 std::string_view message,
328 Context const & context,
329 Iter it) const
330 {
331 parser::write_formatted_message(
332 std::cerr,
333 "",
334 parser::_begin(context),
335 it,
336 parser::_end(context),
337 message);
338 }
339
340 template<typename Context>
341 void default_error_handler::diagnose(

Callers 3

concepts.hppFile · 0.45
_report_errorFunction · 0.45
_report_warningFunction · 0.45

Calls 4

_beginFunction · 0.85
_endFunction · 0.85
_whereFunction · 0.85
beginMethod · 0.45

Tested by

no test coverage detected