pub enum LexerMode {
Normal,
StringLit,
Comment,
Tactic,
}Expand description
A lexer mode for context-sensitive lexing.
Variants§
Normal
Normal mode
StringLit
Inside a string literal
Comment
Inside a comment
Tactic
Inside a tactic block
Trait Implementations§
impl Eq for LexerMode
impl StructuralPartialEq for LexerMode
Auto Trait Implementations§
impl Freeze for LexerMode
impl RefUnwindSafe for LexerMode
impl Send for LexerMode
impl Sync for LexerMode
impl Unpin for LexerMode
impl UnsafeUnpin for LexerMode
impl UnwindSafe for LexerMode
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