Skip to main content

many1

Function many1 

Source
pub fn many1<'lex, T, E, F>(
    lex: RefLexer<'lex>,
    parser: F,
) -> Parser<'lex, Vec<T>, E>
where F: Fn(RefLexer<'lex>) -> Parser<'lex, T, E>,
Expand description

Parses one or more occurrences of parser. Returns Fail if the first attempt fails.