[][src]Function lip::one_or_more_till_end

pub fn one_or_more_till_end<'a, P, A, S: Clone + 'a>(
    parser: P
) -> impl Parser<'a, Vec<A>, S> where
    P: Parser<'a, A, S>, 

Run the parser one or more times and combine each output into a vector of outputs, until the end of the source string.

Returns error even when matching one or more times if parser doesn't reach the end of input.