pub trait Lexer<LexerTypesT: LexerTypes>{
// Required method
fn iter<'a>(
&'a self,
) -> Box<dyn Iterator<Item = Result<LexerTypesT::LexemeT, LexerTypesT::LexErrorT>> + 'a>;
}
Expand description
The base trait which all lexers which want to interact with lrpar
must implement.