combine::parser::combinator

Function map

Source
pub fn map<Input, P, F, B>(p: P, f: F) -> Map<P, F>
where Input: Stream, P: Parser<Input>, F: FnMut(P::Output) -> B,
Expand description

Equivalent to p.map(f).