pub struct LexerResult<'a> {
pub tokens: Vec<Token>,
pub line_info: LineInfo<'a>,
}
Fields§
§tokens: Vec<Token>
The list of tokens generated from the input
line_info: LineInfo<'a>
The line information for the tokens
Auto Trait Implementations§
impl<'a> Freeze for LexerResult<'a>
impl<'a> RefUnwindSafe for LexerResult<'a>
impl<'a> Send for LexerResult<'a>
impl<'a> Sync for LexerResult<'a>
impl<'a> Unpin for LexerResult<'a>
impl<'a> UnwindSafe for LexerResult<'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