Module parser

Source
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.
regexregex
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§

EasyParserstd
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 type Output.