Skip to main content

AltConditionWithLexerAndMatch

Type Alias AltConditionWithLexerAndMatch 

Source
pub type AltConditionWithLexerAndMatch = Arc<dyn for<'source> Fn(&mut Rule, &mut Context, &mut AltMatch, &mut Lexer<'source>) -> bool + Send + Sync>;
Expand description

Complete canonical condition shape: the live effective match plus access to the lexer for bounded, plugin-controlled lookahead.

Aliased Typeยง

pub struct AltConditionWithLexerAndMatch { /* private fields */ }