pub struct StandardParser<'a, 'b>where
'b: 'a,{ /* private fields */ }
Implementations§
Source§impl<'a, 'b> StandardParser<'a, 'b>where
'b: 'a,
impl<'a, 'b> StandardParser<'a, 'b>where
'b: 'a,
pub fn try_new(tokens: &'a Vec<Token<'_>>, bump: &'b Bump) -> ParserResult<Self>
pub fn parse(&self) -> ParserResult<&'b Node<'b>>
Auto Trait Implementations§
impl<'a, 'b> !Freeze for StandardParser<'a, 'b>
impl<'a, 'b> !RefUnwindSafe for StandardParser<'a, 'b>
impl<'a, 'b> !Send for StandardParser<'a, 'b>
impl<'a, 'b> !Sync for StandardParser<'a, 'b>
impl<'a, 'b> Unpin for StandardParser<'a, 'b>
impl<'a, 'b> !UnwindSafe for StandardParser<'a, 'b>
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