Uses the specified message if the original Parser fails.
Produces a Parser that applies the original Parser zero or more times.
Produces a Parser that applies the original Parser one or more times.
Produces a Parser that applies the original Parser zero or one times.
Explicitly defines the completions for the original Parser.
Explicitly defines the completions for the original Parser.
Produces a Parser that filters the original parser.
Produces a Parser that filters the original parser. If 'f' is not true when applied to the output of the original parser, the Parser returned by this method fails.
Returns the original parser.
Returns the original parser. This is useful for converting literals to Parsers.
For example, 'c'.id
or "asdf".id
Produces a Parser that applies the original Parser to the input and then applies f
to the result.
Converts a Parser returning a Char sequence to a Parser returning a String.
Produces a Parser that applies either the original Parser or b
.
Produces a Parser that applies either the original Parser or b
.
Produces a Parser that applies the original Parser and then applies next
(in order).