rustre_parser::parser

Function many_delimited

Source
pub fn many_delimited<'slice, 'src: 'slice, IE: RowanNomError<LustreLang>>(
    left: impl Parser<Input<'slice, 'src, LustreLang>, Children<LustreLang, ParserError>, IE>,
    repeat: impl Parser<Input<'slice, 'src, LustreLang>, Children<LustreLang, ParserError>, IE>,
    separator: impl Parser<Input<'slice, 'src, LustreLang>, Children<LustreLang, ParserError>, IE>,
    right: impl Parser<Input<'slice, 'src, LustreLang>, Children<LustreLang, ParserError>, IE>,
) -> impl FnMut(Input<'slice, 'src, LustreLang>) -> IResult<'slice, 'src, LustreLang, ParserError, IE>