pub struct JavaLexer<'config> { /* private fields */ }Implementations§
Trait Implementations§
Source§impl<'config> Lexer<JavaLanguage> for JavaLexer<'config>
impl<'config> Lexer<JavaLanguage> for JavaLexer<'config>
Source§fn lex<'a, S: Source + ?Sized>(
&self,
source: &'a S,
_edits: &[TextEdit],
cache: &'a mut impl LexerCache<JavaLanguage>,
) -> LexOutput<JavaLanguage>
fn lex<'a, S: Source + ?Sized>( &self, source: &'a S, _edits: &[TextEdit], cache: &'a mut impl LexerCache<JavaLanguage>, ) -> LexOutput<JavaLanguage>
Tokenizes the given source text into a sequence of tokens. Read more
Auto Trait Implementations§
impl<'config> Freeze for JavaLexer<'config>
impl<'config> RefUnwindSafe for JavaLexer<'config>
impl<'config> Send for JavaLexer<'config>
impl<'config> Sync for JavaLexer<'config>
impl<'config> Unpin for JavaLexer<'config>
impl<'config> UnwindSafe for JavaLexer<'config>
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