pub struct ParseOutput {
pub cst: SyntaxNode,
pub diagnostics: Vec<ParseDiagnostic>,
}Expand description
A lossless NAMESPACE parse and its recoverable diagnostics.
Fields§
§cst: SyntaxNodeThe ordinary R CST, preserved byte for byte.
diagnostics: Vec<ParseDiagnostic>R syntax and namespace-shape diagnostics, sorted by source position.
Implementations§
Trait Implementations§
Source§impl Clone for ParseOutput
impl Clone for ParseOutput
Auto Trait Implementations§
impl !RefUnwindSafe for ParseOutput
impl !Send for ParseOutput
impl !Sync for ParseOutput
impl !UnwindSafe for ParseOutput
impl Freeze for ParseOutput
impl Unpin for ParseOutput
impl UnsafeUnpin for ParseOutput
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