pub struct Output<'a, T>where
T: ParserToken<'a>,{
pub lexer: Lexer<'a, T>,
pub events: Vec<Event>,
pub diagnostics: Vec<Diagnostic>,
}Expand description
The output of a parse.
Fields§
§lexer: Lexer<'a, T>The parser’s lexer.
events: Vec<Event>The parser events.
diagnostics: Vec<Diagnostic>The parser diagnostics.
Auto Trait Implementations§
impl<'a, T> Freeze for Output<'a, T>where
T: Freeze,
impl<'a, T> RefUnwindSafe for Output<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for Output<'a, T>where
T: Send,
impl<'a, T> Sync for Output<'a, T>where
T: Sync,
impl<'a, T> Unpin for Output<'a, T>where
T: Unpin,
impl<'a, T> UnsafeUnpin for Output<'a, T>where
T: UnsafeUnpin,
impl<'a, T> UnwindSafe for Output<'a, T>where
T: 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