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