pub struct Parser<'src> { /* private fields */ }Expand description
The PEPL parser.
Consumes a token stream produced by the lexer and builds an AST. Collects errors and attempts recovery when possible.
Implementations§
Auto Trait Implementations§
impl<'src> Freeze for Parser<'src>
impl<'src> RefUnwindSafe for Parser<'src>
impl<'src> Send for Parser<'src>
impl<'src> Sync for Parser<'src>
impl<'src> Unpin for Parser<'src>
impl<'src> UnwindSafe for Parser<'src>
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