pub struct Lexer {
pub input: String,
pub position: usize,
pub token_list: Vec<Token>,
pub current_token: Token,
pub line: usize,
}
Fields§
§input: String
§position: usize
§token_list: Vec<Token>
§current_token: Token
§line: usize
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Lexer
impl RefUnwindSafe for Lexer
impl Send for Lexer
impl Sync for Lexer
impl Unpin for Lexer
impl UnwindSafe for Lexer
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