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