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::xml::XMLToken Struct Reference

A single token emitted by the XML tokenizer. More...

#include "donner/base/xml/XMLTokenType.h"

Public Member Functions

std::string_view text (std::string_view source UTILS_LIFETIME_BOUND) const
 Convenience: extract the token's text from the original source.
bool operator== (const XMLToken &other) const =default
 Equality operator (for tests).

Public Attributes

XMLTokenType type
 Token type.
SourceRange range
 Source byte range [start, end).

Detailed Description

A single token emitted by the XML tokenizer.


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