[−][src]Function nom::multi::count
pub fn count<I, O, E, F>(
f: F,
count: usize
) -> impl Fn(I) -> IResult<I, Vec<O>, E> where
I: Clone + PartialEq,
F: Fn(I) -> IResult<I, O, E>,
E: ParseError<I>,
Runs the embedded parser a specified number
of times. Returns the results in a Vec
.
Arguments
f
The parser to apply.count
How often to apply the parser.