pub trait Match<Arg>: Rule {
// Required method
fn add_token(matcher: &mut Matcher, lexeme: Lexeme<Self>, arg: Arg);
}
Expand description
Records a way in which a matcher can be added for a particular token rule.
See Matcher::then1()
.
Required Methods§
Object Safety§
This trait is not object safe.