Donner
C++20 SVG rendering library
|
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. |