pub struct SyntaxTree { /* private fields */ }
Implementations§
Source§impl SyntaxTree
impl SyntaxTree
pub fn new(tokens: Peekable<IntoIter<Token>>) -> SyntaxTree
pub fn parse(&mut self) -> Option<ZodExpression>
Auto Trait Implementations§
impl Freeze for SyntaxTree
impl RefUnwindSafe for SyntaxTree
impl Send for SyntaxTree
impl Sync for SyntaxTree
impl Unpin for SyntaxTree
impl UnwindSafe for SyntaxTree
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