pub struct CssLexer;Implementations§
Trait Implementations§
Source§impl Lexer<CssLanguage> for CssLexer
impl Lexer<CssLanguage> for CssLexer
Source§fn lex(&self, source: impl Source) -> LexOutput<CssLanguage>
fn lex(&self, source: impl Source) -> LexOutput<CssLanguage>
Tokenizes the given source text into a sequence of tokens. Read more
Source§fn lex_incremental(
&self,
source: impl Source,
_changed: usize,
_cache: IncrementalCache<'_, CssLanguage>,
) -> LexOutput<CssLanguage>
fn lex_incremental( &self, source: impl Source, _changed: usize, _cache: IncrementalCache<'_, CssLanguage>, ) -> LexOutput<CssLanguage>
Tokenizes source text using an existing cache for incremental parsing. Read more
Auto Trait Implementations§
impl Freeze for CssLexer
impl RefUnwindSafe for CssLexer
impl Send for CssLexer
impl Sync for CssLexer
impl Unpin for CssLexer
impl UnwindSafe for CssLexer
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