pub struct Parse { /* private fields */ }Expand description
Implementations§
Source§impl Parse
impl Parse
Sourcepub fn syntax(&self) -> SyntaxNode
pub fn syntax(&self) -> SyntaxNode
A fresh red-tree root over the parsed green tree.
Sourcepub fn errors(&self) -> &[SyntaxError]
pub fn errors(&self) -> &[SyntaxError]
The diagnostics gathered while parsing, in source order.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Parse
impl RefUnwindSafe for Parse
impl Send for Parse
impl Sync for Parse
impl Unpin for Parse
impl UnsafeUnpin for Parse
impl UnwindSafe for Parse
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