Function chumsky::recovery::skip_until
source · pub fn skip_until<I, F, const N: usize>(
until: [I; N],
fallback: F
) -> SkipUntil<I, F, N>
Expand description
A recovery mode that skips input until one of several inputs is found.
Also see SkipUntil::consume_end
.
This strategy is very ‘stupid’ and can result in very poor error generation in some languages. Place this strategy after others as a last resort, and be careful about over-using it.