Function pear::parsers::take_while_until
source · pub fn take_while_until<I, T, F>(
input: &mut Pear<I>,
cond: F,
until: T
) -> Result<I::Many, I>
Expand description
Consumes tokens while cond
matches and the token is not until
. Succeeds
even if no tokens match.