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
XMLTokenType.h File Reference

Defines the token types emitted by the XML tokenizer, used for syntax highlighting and source-location-aware editing. See XMLTokenizer.h for the tokenizer API. More...

#include <cstdint>
#include <ostream>
#include "donner/base/FileOffset.h"
#include "donner/base/Utils.h"
Include dependency graph for XMLTokenType.h:
This graph shows which files directly or indirectly include this file:

Classes

struct  donner::xml::XMLToken
 A single token emitted by the XML tokenizer. 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, top-level objects are donner::xml::XMLParser and donner::xml::XMLDocument.

Enumerations

enum class  donner::xml::XMLTokenType : std::uint8_t {
  donner::xml::TagOpen ,
  donner::xml::TagName ,
  donner::xml::TagClose ,
  donner::xml::TagSelfClose ,
  donner::xml::AttributeName ,
  donner::xml::AttributeValue ,
  donner::xml::Comment ,
  donner::xml::CData ,
  donner::xml::TextContent ,
  donner::xml::XmlDeclaration ,
  donner::xml::Doctype ,
  donner::xml::EntityRef ,
  donner::xml::ProcessingInstruction ,
  donner::xml::Whitespace ,
  donner::xml::ErrorRecovery
}
 Token types emitted by the XML tokenizer (Tokenize). More...

Functions

std::ostream & donner::xml::operator<< (std::ostream &os, XMLTokenType type)
 Ostream output operator for XMLTokenType.

Detailed Description

Defines the token types emitted by the XML tokenizer, used for syntax highlighting and source-location-aware editing. See XMLTokenizer.h for the tokenizer API.