Module combinators

Source
Expand description

Generic parser combinators that work with any Parser implementations

Structs§

All
And
Combinator that applies two parsers and combines their results
Context
Combinator that adds context to errors
Filter
Combinator that filters the output of a parser, returning None if the parser fails
Map
Combinators that transforms parser output
MapRes
MapWithDb
MapWithDbAndEntry
Then
Sequential combinator - applies parsers in sequence, each operating on the result of the previous

Functions§

all
Combinator that applies multiple parsers and collects their results into a tuple