Describes how to output the various parts of the error message.
A type which encompasses both Parser.DeadEnd and Parser.Advanced.DeadEnd.
Describes how to get the context stack from a DeadEnd and how to extract expectations information from a problem.
You can usually use forParser and forParserAdvanced.
And Extract for the basic Parser.DeadEnd.
And Extract for Parser.Advanced.DeadEnd when the problem is a Parser.Problem.
A problem is often of the form "expected something". This type is used to group those together.
Categorize a Problem in whether it's "expected something" or something else.
Render a list of
DeadEnds.The
Stringis the input to the parser.This returns a list of "pieces", look at the README for examples of how to combine them.