Expand description
A collection of both concrete parsers as well as parser combinators.
Implements the Parser
trait which is the core of combine
and contains the submodules
implementing all combine parsers.
Modules§
- byte
- Module containing parsers specialized on byte streams.
- char
- Module containing parsers specialized on character streams.
- choice
- Combinators which take one or more parsers and attempts to parse successfully with at least one of them.
- combinator
- Various combinators which do not fit anywhere else.
- error
- Parsers which cause errors or modifies the returned error on parse failure.
- function
- Parsers constructor from regular functions
- range
- Module containing zero-copy parsers.
- regex
regex
- Module containing regex parsers on streams returning ranges of
&str
or&[u8]
. - repeat
- Combinators which take one or more parsers and applies them repeatedly.
- sequence
- Combinators which take multiple parsers and applies them one after another.
- token
- Parsers working with single stream items.
Traits§
- Easy
Parser std
- Provides the
easy_parse
method which provides good error messages by default - Parser
- By implementing the
Parser
trait a type says that it can be used to parse an input stream into the typeOutput
.