pub struct Parser { /* private fields */ }
Expand description
A hand-written LR-parser which takes a token at a time and whenever a complete statement is encountered, the statement is pushed in to a results vector which can later be retreived with Parser::get_results. Each type of statement which is produced contains a line number and column number which allows any error mesages to locate themselves within the source file.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Parser
impl !RefUnwindSafe for Parser
impl !Send for Parser
impl !Sync for Parser
impl Unpin for Parser
impl !UnwindSafe for Parser
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