|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Span annotation attached to a diagnostic. More...
#include <ah-diagnostics.H>
Public Attributes | |
| Source_Span | span |
| Highlighted region. | |
| Diagnostic_Label_Kind | kind = Diagnostic_Label_Kind::Primary |
| Label role. | |
| std::string | message |
| Optional label-specific message. | |
Span annotation attached to a diagnostic.
Primary labels usually mark the main source of the error. Secondary labels provide related context such as previous declarations or conflicting uses.
Definition at line 79 of file ah-diagnostics.H.
| Diagnostic_Label_Kind Aleph::Diagnostic_Label::kind = Diagnostic_Label_Kind::Primary |
Label role.
Definition at line 82 of file ah-diagnostics.H.
| std::string Aleph::Diagnostic_Label::message |
Optional label-specific message.
Definition at line 83 of file ah-diagnostics.H.
Referenced by Aleph::Diagnostic_Engine::render_label_snippet().
| Source_Span Aleph::Diagnostic_Label::span |
Highlighted region.
Definition at line 81 of file ah-diagnostics.H.
Referenced by Aleph::Diagnostic_Engine::render_label_snippet().