pub struct LexResult {
pub tokens: Vec<Token>,
pub errors: Vec<SyntaxError>,
}Expand description
The result of lexing a source file.
Fields§
§tokens: Vec<Token>§errors: Vec<SyntaxError>Trait Implementations§
Auto Trait Implementations§
impl Freeze for LexResult
impl RefUnwindSafe for LexResult
impl Send for LexResult
impl Sync for LexResult
impl Unpin for LexResult
impl UnsafeUnpin for LexResult
impl UnwindSafe for LexResult
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