pub struct Parser { /* private fields */ }Expand description
A parser for a sequence of .tree tokens into an abstract syntax tree (AST).
This struct represents the state of the parser. It is not
tied to any particular input, while ParserI is.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Parser
impl !RefUnwindSafe for Parser
impl !Sync for Parser
impl Send for Parser
impl Unpin for Parser
impl UnsafeUnpin 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