Trait rustemo::TokenRecognizer
source · pub trait TokenRecognizer<'i> {
// Provided method
fn recognize(&self, _input: &'i str) -> Option<&'i str> { ... }
}
Expand description
The trait implemented by types used to recognize tokens in string inputs.
Used by StringLexer
.