Readonly
expectedReadonly
foundReadonly
locationReadonly
messageReadonly
nameList of {source, text} objects that map to the input.
Static
buildConstructs the human-readable message from the machine representation.
Array of expected items, generated by the parser
Optional
found: null | stringAny text that will appear as found in the input instead of expected
With good sources, generates a feature-rich error message pointing to the error in the input.