Module abortable_parser::combinators [−][src]
Expand description
Contains combinators that can assemble other matchers or combinators into more complex grammars.
Functions
ascii_alpha parses a single ascii alphabet character from an InputIter of bytes.
ascii_digit parses a single ascii alphabetic or digit character from an InputIter of bytes.
ascii_digit parses a single ascii digit character from an InputIter of bytes.
Matches and returns any ascii charactar whitespace byte.
Turns Result::Incomplete
into Result::Fail
.
Matches the end of input for any InputIter.
Returns ()
for any match.
Maps a Result::Fail
to a Result::Abort
.
Turns Result::Fail
or Result::Incomplete
into Result::Abort
.
Turns a Result
to it’s inverse.
Maps a Result
to be optional.
Traps a Result::Abort
and converts it into a Result::Fail
.