Provides additional methods to Try
via implicit conversion.
Provides additional methods to Try
via implicit conversion.
A parser that succeeds if the specified parser succeeds and all input has been consumed.
A parser that succeeds if the specified parser succeeds and all input has been consumed.
A parser function for the specified parser that is expected to consume all input and always succeed, throwing unexpected parser failures as exceptions instead.
A parser function for the specified parser that is expected to consume all input and always succeed, throwing unexpected parser failures as exceptions instead.
The docF
function turns the result of the parser into a document instance.
A parser that always fails with the specified message.
A parser that always fails with the specified message.
Applies the specified parser at the specified offset behind the current position.
Applies the specified parser at the specified offset behind the current position. Never consumes any input.
Applies the specified parser at the current position.
Applies the specified parser at the current position. Never consumes any input.
Applies the specified parser at the specified offset behind the current position.
Applies the specified parser at the specified offset behind the current position. Never consumes any input.
A parser that only succeeds if the specified parser fails and vice versa, it never consumes any input.
A parser that only succeeds if the specified parser fails and vice versa, it never consumes any input.
A parser for an optional element that always succeeds.
A parser for an optional element that always succeeds.
If the underlying parser succeeds this parser will contain its result as a Some
,
if it fails this parser will succeed with a None
.
A parser that always succeeds with the specified value.
A parser that always succeeds with the specified value.
A parser function for the specified parser that is expected to consume all input and always succeed, throwing unexpected parser failures as exceptions instead.
A parser function for the specified parser that is expected to consume all input and always succeed, throwing unexpected parser failures as exceptions instead.