pub fn delimited_some<I, T, F>(
input: &mut Pear<I>,
start: T,
cond: F,
end: T,
) -> Result<I::Many, I>
Expand description
Parse a token stream that starts with start
and ends with end
, returning
all of the tokens in between. The tokens in between must match cond
. There
must be at least one token between start
and end
.