pub struct LexOutput {
pub tokens: Vec<Token>,
pub errors: Vec<LexError>,
}Fields§
§tokens: Vec<Token>Non-trivia tokens in source order. Layout virtual tokens are not present
until crate::layout::resolve_layout is run.
errors: Vec<LexError>Recoverable lexical errors in source order.
Implementations§
Trait Implementations§
impl Eq for LexOutput
impl StructuralPartialEq for LexOutput
Auto Trait Implementations§
impl Freeze for LexOutput
impl RefUnwindSafe for LexOutput
impl Send for LexOutput
impl Sync for LexOutput
impl Unpin for LexOutput
impl UnsafeUnpin for LexOutput
impl UnwindSafe for LexOutput
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