pub struct CSharpLexer;Implementations§
Source§impl CSharpLexer
impl CSharpLexer
pub fn new(_config: &CSharpLanguage) -> Self
Trait Implementations§
Source§impl Lexer<CSharpLanguage> for CSharpLexer
impl Lexer<CSharpLanguage> for CSharpLexer
Source§fn lex_incremental(
&self,
source: impl Source,
_changed: usize,
_cache: IncrementalCache<'_, CSharpLanguage>,
) -> LexOutput<CSharpLanguage>
fn lex_incremental( &self, source: impl Source, _changed: usize, _cache: IncrementalCache<'_, CSharpLanguage>, ) -> LexOutput<CSharpLanguage>
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 Freeze for CSharpLexer
impl RefUnwindSafe for CSharpLexer
impl Send for CSharpLexer
impl Sync for CSharpLexer
impl Unpin for CSharpLexer
impl UnwindSafe for CSharpLexer
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