pub trait Lexer<LexerTypesT: LexerTypes>where
usize: AsPrimitive<LexerTypesT::StorageT>,{
// 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.