Function restq::ast::parser::utils::list_fail

source ·
pub fn list_fail<'a, I, O, U>(
    parser: Parser<'a, I, O>,
    separator: Parser<'a, I, U>
) -> Parser<'a, I, Vec<O>>
where O: 'a, U: 'a,
Expand description

Parses a list with the defined separator, but will fail early when one of the item can not be parsed