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.

Types 2

structEntity

A named character reference

Fields
string name
string value

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 lo
size_t hi
size_t depth
size_t best
size_t bestLength
Methods
bool put(char c) @nogc nothrow pure @safeFeed one char. It returns false when no name can match anymore.

Variables 1

varEntity[] entities

All the named character references, sorted by name