Function espr::parser::combinator::remarked[][src]

pub fn remarked<'a, O, F>(f: F) -> impl EsprParser<'a, O> where
    F: Parser<&'a str, O, VerboseError<&'a str>> + Clone
Expand description

Lift up nom parser into EsprParser by adding empty remark.

Be sure that Vec::new does not allocates memory until any member will be pushed. https://doc.rust-lang.org/std/vec/struct.Vec.html#method.new