|
| diagnostic_writer (const Input &input, lexy::visualization_options opts={}) |
|
template<typename OutputIt , typename Location , typename IteratorOrSize , typename Writer > |
OutputIt | write_annotation (OutputIt out, annotation_kind kind, const Location &begin_location, IteratorOrSize end, const Writer &message) const |
|
template<typename OutputIt > |
OutputIt | write_empty_annotation (OutputIt out) const |
|
template<typename OutputIt , typename Writer > |
OutputIt | write_message (OutputIt out, diagnostic_kind kind, const Writer &message) const |
|
template<typename OutputIt > |
OutputIt | write_path (OutputIt out, const char *path) const |
| Writes a path. More...
|
|
template<typename Input>
class lexy_ext::diagnostic_writer< Input >
Formats and writes diagnostic messages.
Definition at line 40 of file report_error.hpp.
template<typename Input >
template<typename OutputIt , typename Location , typename IteratorOrSize , typename Writer >
Writes a highlighted line with an annotation.
100 | void foo(); | ^^^ annotation
Definition at line 130 of file report_error.hpp.