ignore_to_value_close

Function ignore_to_value_close 

Source
fn ignore_to_value_close(
    tokens: &mut TokenSlice<'_, Token>,
    closing_kind: TokenKind,
    receiver: &mut dyn EventReceiver,
    error: &mut dyn ErrorSink,
)
Expand description

Don’t bother recovering until the matching TokenKind

Attempts to ignore nested [], {}.