pub struct Lexed<'a> {
pub tokens: Vec<Token<'a>>,
pub errors: Vec<LexError>,
}Expand description
The result of lexing: the token stream plus any diagnostics.
Fields§
§tokens: Vec<Token<'a>>§errors: Vec<LexError>Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Lexed<'a>
impl<'a> RefUnwindSafe for Lexed<'a>
impl<'a> Send for Lexed<'a>
impl<'a> Sync for Lexed<'a>
impl<'a> Unpin for Lexed<'a>
impl<'a> UnsafeUnpin for Lexed<'a>
impl<'a> UnwindSafe for Lexed<'a>
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