pub struct SmalltalkLanguage;Expand description
Smalltalk 语言定义
Implementations§
Trait Implementations§
Source§impl Clone for SmalltalkLanguage
impl Clone for SmalltalkLanguage
Source§fn clone(&self) -> SmalltalkLanguage
fn clone(&self) -> SmalltalkLanguage
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 SmalltalkLanguage
impl Debug for SmalltalkLanguage
Source§impl Default for SmalltalkLanguage
impl Default for SmalltalkLanguage
Source§impl Language for SmalltalkLanguage
impl Language for SmalltalkLanguage
Source§type SyntaxKind = SmalltalkKind
type SyntaxKind = SmalltalkKind
The kind kind type used to represent different kind and node types in the language. Read more
Source§impl<'config> Lexer<SmalltalkLanguage> for SmalltalkLexer<'config>
impl<'config> Lexer<SmalltalkLanguage> for SmalltalkLexer<'config>
Source§fn lex_incremental(
&self,
source: impl Source,
changed: usize,
cache: IncrementalCache<'_, SmalltalkLanguage>,
) -> LexOutput<SmalltalkLanguage>
fn lex_incremental( &self, source: impl Source, changed: usize, cache: IncrementalCache<'_, SmalltalkLanguage>, ) -> LexOutput<SmalltalkLanguage>
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 SmalltalkLanguage
impl RefUnwindSafe for SmalltalkLanguage
impl Send for SmalltalkLanguage
impl Sync for SmalltalkLanguage
impl Unpin for SmalltalkLanguage
impl UnwindSafe for SmalltalkLanguage
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