pub struct Parser<It: Iterator<Item = char>> { /* private fields */ }Implementations§
Source§impl<It: Iterator<Item = char>> Parser<It>
impl<It: Iterator<Item = char>> Parser<It>
pub fn new(it: It) -> Self
pub fn parse_atom(&mut self, dict: &mut Dict) -> Result<Kind, ParserErr>
pub fn parse_expr(&mut self, dict: &mut Dict) -> Result<Kind, ParserErr>
pub fn parse_spair(&mut self, dict: &mut Dict) -> Result<Kind, ParserErr>
pub fn has_ended(&mut self) -> Result<usize, ()>
Auto Trait Implementations§
impl<It> Freeze for Parser<It>where
It: Freeze,
impl<It> RefUnwindSafe for Parser<It>where
It: RefUnwindSafe,
impl<It> Send for Parser<It>where
It: Send,
impl<It> Sync for Parser<It>where
It: Sync,
impl<It> Unpin for Parser<It>where
It: Unpin,
impl<It> UnwindSafe for Parser<It>where
It: UnwindSafe,
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