Skip to main content

Module codes

Module codes 

Source
Expand description

Diagnostic codes emitted by example synthesis.

Constantsยง

NO_FINITE_DERIVATION
A rule has no finite derivation (every path recurses forever), so no example input exists.
UNKNOWN_RULE
A RuleRef names a rule the grammar does not define.
UNKNOWN_TOKEN
A Token uses a %-prefixed pattern this module has no input text for. Reported rather than rendered verbatim, so a new PEG primitive cannot silently leak its own name into an example.