pub struct LeanLanguage;Expand description
Lean 语言定义
Implementations§
Source§impl LeanLanguage
impl LeanLanguage
Trait Implementations§
Source§impl Clone for LeanLanguage
impl Clone for LeanLanguage
Source§fn clone(&self) -> LeanLanguage
fn clone(&self) -> LeanLanguage
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 LeanLanguage
impl Debug for LeanLanguage
Source§impl Default for LeanLanguage
impl Default for LeanLanguage
Source§impl Hash for LeanLanguage
impl Hash for LeanLanguage
Source§impl Language for LeanLanguage
impl Language for LeanLanguage
Source§type SyntaxKind = LeanSyntaxKind
type SyntaxKind = LeanSyntaxKind
The kind kind type used to represent different kind and node types in the language. Read more
Source§impl<'config> Lexer<LeanLanguage> for LeanLexer<'config>
impl<'config> Lexer<LeanLanguage> for LeanLexer<'config>
Source§fn lex_incremental(
&self,
source: impl Source,
changed: usize,
cache: IncrementalCache<'_, LeanLanguage>,
) -> LexOutput<LeanLanguage>
fn lex_incremental( &self, source: impl Source, changed: usize, cache: IncrementalCache<'_, LeanLanguage>, ) -> LexOutput<LeanLanguage>
Tokenizes source text using an existing cache for incremental parsing. Read more
Source§impl PartialEq for LeanLanguage
impl PartialEq for LeanLanguage
impl Copy for LeanLanguage
impl Eq for LeanLanguage
impl StructuralPartialEq for LeanLanguage
Auto Trait Implementations§
impl Freeze for LeanLanguage
impl RefUnwindSafe for LeanLanguage
impl Send for LeanLanguage
impl Sync for LeanLanguage
impl Unpin for LeanLanguage
impl UnwindSafe for LeanLanguage
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