Module combine::parser::function [] [src]

Parsers constructor from regular functions

Structs

EnvParser
FnParser

Functions

env_parser

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.

parser

Wraps a function, turning it into a parser.