pub struct LexerDatabase<'a> {
pub symbol_table: HashMap<&'a str, Symbol<'a>>,
pub entries: HashMap<Symbol<'a>, LexerRule<'a>>,
pub skip: Option<Symbol<'a>>,
}
Fields§
§symbol_table: HashMap<&'a str, Symbol<'a>>
§entries: HashMap<Symbol<'a>, LexerRule<'a>>
§skip: Option<Symbol<'a>>
Implementations§
Auto Trait Implementations§
impl<'a> Freeze for LexerDatabase<'a>
impl<'a> RefUnwindSafe for LexerDatabase<'a>
impl<'a> !Send for LexerDatabase<'a>
impl<'a> !Sync for LexerDatabase<'a>
impl<'a> Unpin for LexerDatabase<'a>
impl<'a> UnwindSafe for LexerDatabase<'a>
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