pub struct ZigLanguage {}Trait Implementations§
Source§impl Language for ZigLanguage
impl Language for ZigLanguage
Source§type SyntaxKind = ZigSyntaxKind
type SyntaxKind = ZigSyntaxKind
The kind kind type used to represent different kind and node types in the language. Read more
Source§impl<'config> Lexer<ZigLanguage> for ZigLexer<'config>
impl<'config> Lexer<ZigLanguage> for ZigLexer<'config>
Source§fn lex_incremental(
&self,
source: impl Source,
changed: usize,
cache: IncrementalCache<'_, ZigLanguage>,
) -> LexOutput<ZigLanguage>
fn lex_incremental( &self, source: impl Source, changed: usize, cache: IncrementalCache<'_, ZigLanguage>, ) -> LexOutput<ZigLanguage>
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 ZigLanguage
impl RefUnwindSafe for ZigLanguage
impl Send for ZigLanguage
impl Sync for ZigLanguage
impl Unpin for ZigLanguage
impl UnwindSafe for ZigLanguage
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