Donner SVG 0.8.0-pre
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
donner::editor::SourceDiagnostic Struct Reference

Source diagnostic prepared for editor presentation. More...

#include "donner/editor/SourceDiagnostics.h"

Public Member Functions

bool operator== (const SourceDiagnostic &) const =default

Public Attributes

std::uint64_t id = 0
 Stable within one parse revision.
DiagnosticSeverity severity = DiagnosticSeverity::Error
SourceByteRange range
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

Detailed Description

Source diagnostic prepared for editor presentation.


The documentation for this struct was generated from the following file: