Donner 0.5.1
Embeddable browser-grade SVG2 engine
Loading...
Searching...
No Matches
donner::xml::detail::XMLTokenizerImpl Class Reference

Internal tokenizer state, factored out of the template so the header doesn't carry lambdas across translation units (which would cause the goto_into_protected_scope issue with goto + lambdas in the same scope). More...

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

Public Member Functions

 XMLTokenizerImpl (std::string_view source)
template<typename EmitFn>
void run (EmitFn &&emitFn)
 Run the tokenizer, calling emitFn(XMLToken) for each token.

Detailed Description

Internal tokenizer state, factored out of the template so the header doesn't carry lambdas across translation units (which would cause the goto_into_protected_scope issue with goto + lambdas in the same scope).


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