|
|
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.
|
Contains the start location within a string where a subparser was invoked, used for remapping errors back to their original text. More...
#include "donner/svg/parser/details/SVGParserContext.h"
Static Public Member Functions | |
| static ParserOrigin | StartOffset (size_t offset) |
| Create a ParserOrigin with the given start offset. | |
Public Attributes | |
| size_t | startOffset |
| 0-based offset into the string where the subparser started. | |
Contains the start location within a string where a subparser was invoked, used for remapping errors back to their original text.
|
inlinestatic |
Create a ParserOrigin with the given start offset.
| offset | 0-based offset into the string where the subparser started. |