Array of expected value types.
Used for error messages.
Starts charging of list.
Always called before the first item charge. In case of map item, always called before map charge, but not necessarily before entries charged.
1
if charge succeed, or 0
for unexpected list.
Charges big integer value.
Typically called from raw when the raw value interpreted as bigint, i.e. when it starts with 0n
or
-0n
prefix.
Charged value.
Either 1
if charge succeed, or 0
for unexpected big integer.
Charges boolean value.
Called directly for true
value (!
), or from raw when the raw value interpreted as false
,
i.e. it is -
.
Charged value.
Either 1
if charge succeed, or 0
for unexpected boolean.
Charges opaque (unrecognized) formatted data.
Charged data format name.
Charged data tokens.
Either 1
if charge succeed, or 0
for unexpected data.
Starts charging of map entry.
Target entry key.
Either entry receiver, 0
for unexpected map, or undefined
for unexpected entry.
Called to start inset tokenization.
Inset format identifier.
Emitter function called each time a token is found.
Either input lexer, or undefined
if inset is not expected..
Charges nested list.
Either nested list charge receiver, or undefined
for unexpected nested list.
Charges null
value.
Typically called from raw when the raw value interpreted as null
, i.e. when it is --
.
Either 1
if charge succeed, or ``0for unexpected
null`.
Charges number value.
Typically called from raw when the raw value interpreted as number, i.e. when it starts with digit.
Charged value.
Either 1
if charge succeed, or 0
for unexpected number.
Charges raw value.
In contrast to str method, this one is called for strings that look like numbers or start with
hyphen ("-" (U+002D)
).
By default, calls big, bol, nul, num, or str depending on value
prefix.
Charged value.
Either 1
if charge succeed, or 0
for unexpected number.
Charges string value.
Always called directly for quoted strings. May be called from raw, unless the raw value interpreted otherwise.
Charged value.
Either 1
if charge succeed, or 0
for unexpected number.
Protected
setGenerated using TypeDoc
Charge receiver that always accepts all values.