srdf::srdf_parser

Function map

Source
pub fn map<RDF, P, F, B>(parser: P, f: F) -> Map<P, F>
where RDF: FocusRDF, P: RDFNodeParse<RDF>, F: FnMut(P::Output) -> B,
Expand description

Applies a function f on the result of a parser