ParseError Module
Helpers for constructing and inspecting ParseError{T,S} values.
Also exposes the canonical Message values used by the standard combinators
(`shouldConsume`, `bothFailed`, etc.) so user code can pattern-match against them
and produce the same error shape.
Functions and values
| Function or value | Description |
|
|
|
|
Full Usage:
create error position
Parameters: Returns: ParseResult<'Parsed, 'T, 'State>
Modifiers: inline Type parameters: 'T, 'State, 'Parsed |
|
Full Usage:
createNested error children position
Parameters:
ErrorType<'T, 'State>
children : ParseError<'T, 'State> list
position : Position<'State>
Returns: ParseResult<'Parsed, 'T, 'State>
Modifiers: inline Type parameters: 'T, 'State, 'Parsed |
|
Full Usage:
empty position
Parameters:
Position<'State>
Returns: ParseError<'T, 'State>
Modifiers: inline Type parameters: 'State, 'T |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|