parserino.html.entities
Named character references of HTML (&, , ...). Generated by tools/gen/gen_names.d.
The list comes from the HTML Living Standard (https://html.spec.whatwg.org/entities.json), see tools/gen/spec.d.
var entities
Types 2
structEntity
A named character reference
Fields
string namestring valuestructEntityMatcher
Incremental matching of a name, one char at a time: entities[lo .. hi] are the names starting with the chars seen so far. It works across input chunks.
Fields
size_t losize_t hisize_t depthsize_t bestsize_t bestLengthMethods
bool put(char c) @nogc nothrow pure @safeFeed one char. It returns false when no name can match anymore.Variables 1
var
Entity[] entitiesAll the named character references, sorted by name