#include <cstdio>#include <lexy/_detail/assert.hpp>#include <lexy/error.hpp>#include <lexy/input_location.hpp>#include <lexy/visualize.hpp>

Go to the source code of this file.
Classes | |
| struct | lexy_ext::_report_error< OutputIterator > |
| struct | lexy_ext::_report_error< OutputIterator >::_sink |
| class | lexy_ext::diagnostic_writer< Input > |
| Formats and writes diagnostic messages. More... | |
Namespaces | |
| lexy_ext | |
| lexy_ext::_detail | |
Enumerations | |
| enum | lexy_ext::annotation_kind { lexy_ext::annotation_kind::primary, lexy_ext::annotation_kind::secondary } |
| Classifies a source code annotation. More... | |
| enum | lexy_ext::diagnostic_kind { lexy_ext::diagnostic_kind::error, lexy_ext::diagnostic_kind::warning, lexy_ext::diagnostic_kind::note, lexy_ext::diagnostic_kind::info, lexy_ext::diagnostic_kind::debug, lexy_ext::diagnostic_kind::fixit, lexy_ext::diagnostic_kind::help } |
| The kind of diagnostic message. More... | |
Functions | |
| template<typename OutputIt , typename Input , typename Reader , typename Tag > | |
| OutputIt | lexy_ext::_detail::write_error (OutputIt out, const lexy::error_context< Input > &context, const lexy::error< Reader, Tag > &error, lexy::visualization_options opts, const char *path) |
Variables | |
| constexpr auto | lexy_ext::report_error = _report_error<lexy::stderr_output_iterator>{} |
| An error callback that uses diagnostic_writer to print to stderr (by default). More... | |