Donner SVG Editor & Engine
SVG-native editor and embeddable SVG2 + CSS3 engine in C++20, with GPU (WebGPU) and compact CPU renderers, built for correctness, security, and performance.
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: