pub struct ZigLexer;Implementations§
Trait Implementations§
Source§impl Lexer<ZigLanguage> for ZigLexer
impl Lexer<ZigLanguage> for ZigLexer
Source§fn lex<'a, S: Source + ?Sized>(
&self,
source: &S,
_edits: &[TextEdit],
cache: &'a mut impl LexerCache<ZigLanguage>,
) -> LexOutput<ZigLanguage>
fn lex<'a, S: Source + ?Sized>( &self, source: &S, _edits: &[TextEdit], cache: &'a mut impl LexerCache<ZigLanguage>, ) -> LexOutput<ZigLanguage>
Tokenizes the given source text into a sequence of tokens. Read more
Auto Trait Implementations§
impl Freeze for ZigLexer
impl RefUnwindSafe for ZigLexer
impl Send for ZigLexer
impl Sync for ZigLexer
impl Unpin for ZigLexer
impl UnwindSafe for ZigLexer
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