pub struct CSharpLanguage;Expand description
C# 语言实现
Trait Implementations§
Source§impl Clone for CSharpLanguage
impl Clone for CSharpLanguage
Source§fn clone(&self) -> CSharpLanguage
fn clone(&self) -> CSharpLanguage
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CSharpLanguage
impl Debug for CSharpLanguage
Source§impl Hash for CSharpLanguage
impl Hash for CSharpLanguage
Source§impl Language for CSharpLanguage
impl Language for CSharpLanguage
Source§type SyntaxKind = CSharpSyntaxKind
type SyntaxKind = CSharpSyntaxKind
The kind kind type used to represent different kind and node types in the language. Read more
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
Source§impl PartialEq for CSharpLanguage
impl PartialEq for CSharpLanguage
impl Copy for CSharpLanguage
impl Eq for CSharpLanguage
impl StructuralPartialEq for CSharpLanguage
Auto Trait Implementations§
impl Freeze for CSharpLanguage
impl RefUnwindSafe for CSharpLanguage
impl Send for CSharpLanguage
impl Sync for CSharpLanguage
impl Unpin for CSharpLanguage
impl UnwindSafe for CSharpLanguage
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