pub struct Parser<'a> { /* private fields */ }Expand description
Parser state
Implementations§
Source§impl<'a> Parser<'a>
impl<'a> Parser<'a>
Sourcepub fn from_bytes(input: &'a [u8]) -> Self
pub fn from_bytes(input: &'a [u8]) -> Self
Create from bytes
Sourcepub fn parse<const N: usize>(
&mut self,
lisp: &Lisp<N>,
) -> Result<ArenaIndex, ParseError>
pub fn parse<const N: usize>( &mut self, lisp: &Lisp<N>, ) -> Result<ArenaIndex, ParseError>
Parse a single expression
Auto Trait Implementations§
impl<'a> Freeze for Parser<'a>
impl<'a> RefUnwindSafe for Parser<'a>
impl<'a> Send for Parser<'a>
impl<'a> Sync for Parser<'a>
impl<'a> Unpin for Parser<'a>
impl<'a> UnwindSafe for Parser<'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