Constructor.
The parsed content of a character_sets.json file.
The named character sets: name -> {regex, description}.
Resolve an alias ("slash" -> "forward-slash"); any other name is returned unchanged.
A character set name.
The canonical name.
The character set names of an allowedCharacter declaration.
Each value of the attribute is one name; a value that is not a single character may also hold several names separated by commas. A single character, a comma included, names itself (literal_names).
The values of the attribute.
The names, in declaration order.
The default character names of a standard value class for a standard schema version.
A value class name.
The standard schema version in force; null picks the newest entry.
The names; empty when the file has no defaults for the class.
Say what the names allow, for an error message.
A single named set is followed by its description without the markdown backticks; several names are listed as written; a literal punctuation character is quoted.
Set names, aliases, or single literal characters.
The description.
Whether no HED string may contain a character (hed_string.forbidden: listed characters and code ranges).
A single character.
Whether a name is a set, an alias, or a single literal character (section 2.2, literal names).
A character set name.
The characters of a text that none of the names allows.
The text to check.
Set names, aliases, or single literal characters. No names means no constraint.
[index, character] pairs; the index counts UTF-16 code units, as JavaScript string indices do.
A regular expression matching exactly one character that any of the names allows.
Set names, aliases, or single literal characters.
The expression (Unicode mode, so a character outside the BMP is one character).
The whole-value regular expression of a value class, if it has one.
A value class name.
The expression, or null.
A read-only view of character_sets.json: named sets, aliases, defaults, whole-value rules and exclusions.