Module combinator

Source
Expand description

Combinators that allow combining and extending existing parsers.

“Ford… you’re turning into a penguin. Stop it.”

Although it’s sometimes useful to be able to name their type, most of these parsers are much easier to work with when accessed through their respective methods on Parser.

Structs§

Debug
See Parser::debug.
DelimitedBy
See Parser::delimited_by.
Foldl
See Parser::foldl.
Foldr
See Parser::foldr.
Label
See Parser::labelled.
Map
See Parser::map.
MapErr
See Parser::map_err.
MapErrWithSpan
See Parser::map_err_with_span.
MapWithSpan
See Parser::map_with_span.
Not
See Parser::not.
Or
See Parser::or.
OrElse
See Parser::or_else.
OrNot
See Parser::or_not.
Repeated
See Parser::repeated.
Rewind
See Parser::rewind.
SeparatedBy
See Parser::separated_by.
Then
See Parser::then.
ThenWith
See Parser::then_with
To
See Parser::to.
TryMap
See Parser::try_map.
Unwrapped
See Parser::unwrapped
Validate
See Parser::validate.

Type Aliases§

IgnoreThen
See Parser::ignore_then.
Ignored
See Parser::ignored.
ThenIgnore
See Parser::then_ignore.