pub fn delimited_collect<C, I, T, S, O, P>(
input: &mut Pear<I>,
start: T,
item: P,
separator: S,
end: T,
) -> Result<C, I>
Expand description
Parses many separator
delimited p
s, the entire collection of which must
start with start
and end with end
. item
Gramatically, this is:
START (item SEPERATOR)* END