Skip to main content

AltConditionWithLexer

Type Alias AltConditionWithLexer 

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

Condition with access to the live lexer. This is the imperative form used by plugins that perform controlled lookahead from a condition.

Aliased Typeยง

pub struct AltConditionWithLexer { /* private fields */ }