Donner SVG 0.8.0
0.8.0 ยท ebf353960.8.0 main
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
XMLDocumentContext.h File Reference
#include <cstddef>
#include <cstdint>
#include <memory>
#include <optional>
#include <vector>
#include "donner/base/EcsRegistry.h"
#include "donner/base/ParseDiagnostic.h"
#include "donner/base/Utils.h"
Include dependency graph for XMLDocumentContext.h:
This graph shows which files directly or indirectly include this file:

Classes

struct  donner::xml::components::XMLSourceStoreHolder
 Holds the source store of a document for as long as the document exists. More...
class  donner::xml::components::XMLDocumentContext
 Holds global state of an XML document, such as the root element. More...
struct  donner::xml::components::XMLDocumentContext::UnreparsedSpan
 One source span the live tree does not reflect, with the failure that reported it. More...

Namespaces

namespace  donner
 Top-level Donner namespace, which is split into different sub-namespaces such as donner::svg and donner::css.
namespace  donner::xml
 XML parsing and document model support.

Class Documentation

◆ donner::xml::components::XMLDocumentContext::UnreparsedSpan

struct donner::xml::components::XMLDocumentContext::UnreparsedSpan

One source span the live tree does not reflect, with the failure that reported it.

Class Members
ParseDiagnostic diagnostic Failure that marked the span; surfaced verbatim while pending. Its range tracks the span across later edits.
size_t end = 0 End byte offset in current source coordinates (exclusive).
uint64_t sequence = 0 Recency order for surfacing; higher is a newer failure.
size_t start = 0 Start byte offset in current source coordinates (inclusive).