pry.combinators

Undocumented in source.

Members

Functions

any
auto any(P parsers)

Try each of provided parsers until one succeeds.

array
auto array(Parser parser)

Apply parser for minTimes times or more and return array of results.

rep
auto rep(Parser parser)

Apply parser for minTimes times or more and return consumed range.

seq
auto seq(P parsers)

Apply multiple parsers one after another as a sequence.

Templates

map
template map(alias f)

Apply a mapping function to the value of parser.

Meta