pub struct Lexer;Expand description
Lexer for Racket source code.
Trait Implementations§
Source§impl Lexer<RacketLanguage> for Lexer
impl Lexer<RacketLanguage> for Lexer
Source§fn lex<'a, S: Source + ?Sized>(
&self,
text: &S,
edits: &[TextEdit],
cache: &'a mut impl LexerCache<RacketLanguage>,
) -> LexOutput<RacketLanguage>
fn lex<'a, S: Source + ?Sized>( &self, text: &S, edits: &[TextEdit], cache: &'a mut impl LexerCache<RacketLanguage>, ) -> LexOutput<RacketLanguage>
Tokenizes the source text into a sequence of tokens. Read more
Auto Trait Implementations§
impl Freeze for Lexer
impl RefUnwindSafe for Lexer
impl Send for Lexer
impl Sync for Lexer
impl Unpin for Lexer
impl UnsafeUnpin 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