Struct EarleyDynamicMatchers
pub struct EarleyDynamicMatchers { /* private fields */ }Expand description
The dynamic-Earley lexer built once at construction (the seam mirroring Lark’s
EarleyRegexpMatcher.__init__): the per-terminal
forward matchers + parallel terminal-priority vector. A zero-width / bad regexp
raises the GrammarError here (construction), never mid-parse — every
subsequent parse borrows this by reference (see super::EarleyLexerSource).
Auto Trait Implementations§
impl !RefUnwindSafe for DynamicMatchers
impl !UnwindSafe for DynamicMatchers
impl Freeze for DynamicMatchers
impl Send for DynamicMatchers
impl Sync for DynamicMatchers
impl Unpin for DynamicMatchers
impl UnsafeUnpin for DynamicMatchers
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more