pub struct HtmlLexer<'config> { /* private fields */ }Implementations§
Trait Implementations§
Source§impl<'config> Lexer<HtmlLanguage> for HtmlLexer<'config>
impl<'config> Lexer<HtmlLanguage> for HtmlLexer<'config>
Source§fn lex_incremental(
&self,
source: impl Source,
changed: usize,
cache: IncrementalCache<'_, HtmlLanguage>,
) -> LexOutput<HtmlLanguage>
fn lex_incremental( &self, source: impl Source, changed: usize, cache: IncrementalCache<'_, HtmlLanguage>, ) -> LexOutput<HtmlLanguage>
Tokenizes source text using an existing cache for incremental parsing. Read more
Source§fn lex(
&self,
source: impl Source,
) -> OakDiagnostics<Vec<Token<<L as Language>::SyntaxKind>>>
fn lex( &self, source: impl Source, ) -> OakDiagnostics<Vec<Token<<L as Language>::SyntaxKind>>>
Tokenizes the given source text into a sequence of tokens. Read more
Auto Trait Implementations§
impl<'config> Freeze for HtmlLexer<'config>
impl<'config> RefUnwindSafe for HtmlLexer<'config>
impl<'config> Send for HtmlLexer<'config>
impl<'config> Sync for HtmlLexer<'config>
impl<'config> Unpin for HtmlLexer<'config>
impl<'config> UnwindSafe for HtmlLexer<'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