Module combine::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§

  • Module containing parsers specialized on byte streams.
  • Module containing parsers specialized on character streams.
  • Combinators which take one or more parsers and attempts to parse successfully with at least one of them.
  • Various combinators which do not fit anywhere else.
  • Parsers which cause errors or modifies the returned error on parse failure.
  • Parsers constructor from regular functions
  • Module containing zero-copy parsers.
  • regexregex
    Module containing regex parsers on streams returning ranges of &str or &[u8].
  • Combinators which take one or more parsers and applies them repeatedly.
  • Combinators which take multiple parsers and applies them one after another.
  • Parsers working with single stream items.

Traits§

  • Provides the easy_parse method which provides good error messages by default
  • By implementing the Parser trait a type says that it can be used to parse an input stream into the type Output.