Module error
Types for different kinds of parsing failures.
Structs
- Error Parse-related error type.
Enums
- ErrorVariant Different kinds of parsing errors.
-
InputLocation
Where an
Errorhas occurred. -
LineColLocation
Line/column where an
Errorhas occurred.
Type Aliases
- IsWhitespaceFn Function mapping string element to bool denoting whether it's a whitespace defined by user.
- RuleToMessageFn Function mapping rule to its helper message defined by user.