Struct expr_solver::lexer::Lexer
source · pub struct Lexer {
pub source_string: String,
pub source_chars: Vec<char>,
pub start: usize,
pub current: usize,
pub tokens: Vec<Token>,
pub len: usize,
pub has_errors: bool,
}Fields§
§source_string: String§source_chars: Vec<char>§start: usize§current: usize§tokens: Vec<Token>§len: usize§has_errors: boolImplementations§
Auto Trait Implementations§
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