#[repr(C)]pub struct Lexer {Show 15 fields
pub data: TSLexer,
pub current_position: Length,
pub token_start_position: Length,
pub token_end_position: Length,
pub included_ranges: *mut TSRange,
pub chunk: *const c_char,
pub input: TSInput,
pub logger: TSLogger,
pub included_range_count: u32,
pub current_included_range_index: u32,
pub chunk_start: u32,
pub chunk_size: u32,
pub lookahead_size: u32,
pub did_get_column: bool,
pub debug_buffer: [c_char; 1024],
}
Fields§
§data: TSLexer
§current_position: Length
§token_start_position: Length
§token_end_position: Length
§included_ranges: *mut TSRange
§chunk: *const c_char
§input: TSInput
§logger: TSLogger
§included_range_count: u32
§current_included_range_index: u32
§chunk_start: u32
§chunk_size: u32
§lookahead_size: u32
§did_get_column: bool
§debug_buffer: [c_char; 1024]
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