pub fn seq<'a, R: 'a, const N: usize>(
parsers: [Parser<'a, R>; N],
) -> impl Parse<'a, Vec<R>>
Expand description
An alternative to chaining multiple Parse::and calls. One benefit is that all the results will be returned in one Vec, instead of each returning two results. The intention may also be more clear.
ยงErrors
Any of errors from the parameter parsers
.