Module chumsky::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
- See
Parser::debug
. - See
Parser::delimited_by
. - See
Parser::foldl
. - See
Parser::foldr
. - See
Parser::labelled
. - See
Parser::map
. - See
Parser::map_err
. - See
Parser::not
. - See
Parser::or
. - See
Parser::or_else
. - See
Parser::or_not
. - See
Parser::repeated
. - See
Parser::rewind
. - See
Parser::separated_by
. - See
Parser::then
. - See
Parser::to
. - See
Parser::try_map
. - See
Parser::validate
.
Type Definitions
- See
Parser::ignore_then
. - See
Parser::ignored
. - See
Parser::then_ignore
.