many_until_eof

Function many_until_eof 

Source
pub fn many_until_eof<'a, O, F>(
    f: F,
) -> impl Parser<NomSpan<'a>, Output = Vec<O>, Error = BindParserError>
where F: Parser<NomSpan<'a>, Output = O, Error = BindParserError>,
Expand description

Applies the parser f until reaching the end of the input. f must always make progress (i.e. consume input) and many_until_eof will panic if it doesn’t, to prevent infinite loops. Returns the results of f in a Vec.