Module combine::parser::function

source ·
Expand description

Parsers constructor from regular functions

Structs§

Functions§

  • Constructs a parser out of an environment and a function which needs the given environment to do the parsing. This is commonly useful to allow multiple parsers to share some environment while still allowing the parsers to be written in separate functions.
  • Wraps a function, turning it into a parser.