Source diagnostic prepared for editor presentation.
More...
#include "donner/editor/SourceDiagnostics.h"
|
|
std::uint64_t | id = 0 |
| | Stable within one parse revision.
|
| DiagnosticSeverity | severity |
| | Diagnostic level used for display and counting.
|
|
SourceByteRange | range |
| | Affected byte range in the source.
|
|
std::size_t | line = 1 |
| | One-based line number.
|
|
std::size_t | column = 0 |
| | Zero-based byte column.
|
|
std::size_t | endLine = 1 |
| | One-based line number for the exclusive range end.
|
|
std::size_t | endColumn = 0 |
| | Zero-based byte column for the exclusive range end.
|
|
std::string | message |
| | Human-readable diagnostic text.
|
Source diagnostic prepared for editor presentation.
◆ operator==()
| bool donner::editor::SourceDiagnostic::operator== |
( |
const SourceDiagnostic & | other | ) |
const |
|
default |
Compare all members for value equality.
- Parameters
-
◆ severity
Initial value:=
@ Error
Fatal issue; parsing may stop or produce partial results.
Definition ParseDiagnostic.h:14
Diagnostic level used for display and counting.
The documentation for this struct was generated from the following file: