pub type ImperativeLexMatcher = Arc<dyn for<'source> Fn(&mut Lexer<'source>, &mut Rule, &mut Context) -> Option<Token> + Send + Sync>;Expand description
Full native custom matcher. Unlike the serialized effect callback, this form can inspect and mutate the live rule/context and advance the lexer.
Aliased Typeยง
pub struct ImperativeLexMatcher { /* private fields */ }