pub struct SwiftLanguage;Trait Implementations§
Source§impl Clone for SwiftLanguage
impl Clone for SwiftLanguage
Source§fn clone(&self) -> SwiftLanguage
fn clone(&self) -> SwiftLanguage
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 SwiftLanguage
impl Debug for SwiftLanguage
Source§impl Hash for SwiftLanguage
impl Hash for SwiftLanguage
Source§impl Language for SwiftLanguage
impl Language for SwiftLanguage
Source§type SyntaxKind = SwiftSyntaxKind
type SyntaxKind = SwiftSyntaxKind
The kind kind type used to represent different kind and node types in the language. Read more
Source§impl<'config> Lexer<SwiftLanguage> for SwiftLexer<'config>
impl<'config> Lexer<SwiftLanguage> for SwiftLexer<'config>
Source§fn lex_incremental(
&self,
source: impl Source,
_changed: usize,
_cache: IncrementalCache<'_, SwiftLanguage>,
) -> LexOutput<SwiftLanguage>
fn lex_incremental( &self, source: impl Source, _changed: usize, _cache: IncrementalCache<'_, SwiftLanguage>, ) -> LexOutput<SwiftLanguage>
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 SwiftLanguage
impl PartialEq for SwiftLanguage
impl Copy for SwiftLanguage
impl Eq for SwiftLanguage
impl StructuralPartialEq for SwiftLanguage
Auto Trait Implementations§
impl Freeze for SwiftLanguage
impl RefUnwindSafe for SwiftLanguage
impl Send for SwiftLanguage
impl Sync for SwiftLanguage
impl Unpin for SwiftLanguage
impl UnwindSafe for SwiftLanguage
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