Trait antlr_rust::lexer::LexerRecog[][src]

pub trait LexerRecog<'a, T: Recognizer<'a>>: Actions<'a, T> + Sized + 'static {
    fn before_emit(_lexer: &mut T) { ... }
}
Expand description

! Usually generated by ANTLR !

This trait combines everything that can be used to extend Lexer behavior

Provided methods

Callback to extend emit behavior

Implementors