[−][src]Function nom::multi::many1
pub fn many1<I, O, E, F>(f: F) -> 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 until it fails and
returns the results in a Vec
. Fails if
the embedded parser does not produce at least
one result.
Arguments
f
The parser to apply.