Skip to main content

LexMatcherFactory

Type Alias LexMatcherFactory 

Source
pub type LexMatcherFactory = Arc<dyn Fn(&Options) -> Option<ImperativeLexMatcher> + Send + Sync>;
Expand description

Setup-time matcher constructor. Rust has one resolved typed option tree, so it serves the roles of both canonical cfg and raw opts arguments.

Aliased Typeยง

pub struct LexMatcherFactory { /* private fields */ }