Immutable mapping from projected decoded XML text back to authored source bytes. More...
#include "donner/base/xml/XMLNode.h"
Public Member Functions | |
| std::optional< SourceRange > | mapRange (const SourceRange &range) const |
| Map a range entirely in one original XML text chunk. | |
| std::size_t | retainedCapacityBytes () const |
| Allocated vector-capacity bytes retained by this mapping, excluding allocator overhead. | |
Friends | |
| class | XMLNode |
Immutable mapping from projected decoded XML text back to authored source bytes.
| std::optional< SourceRange > donner::xml::XMLDecodedTextSourceMap::mapRange | ( | const SourceRange & | range | ) | const |
Map a range entirely in one original XML text chunk.
| range | Half-open decoded byte range. |