Function pear::parsers::take_until_slice

source ·
pub fn take_until_slice<I, S>(
    input: &mut Pear<I>,
    slice: S
) -> Result<I::Many, I>
where I: Input + Rewind, S: Slice<I>,
Expand description

Consumes tokens while cond matches on a window of tokens of size n and returns them. Succeeds even if no tokens match.