pub struct ClojureLexer<'config> { /* private fields */ }Implementations§
Source§impl<'config> ClojureLexer<'config>
impl<'config> ClojureLexer<'config>
pub fn new(config: &'config ClojureLanguage) -> Self
Trait Implementations§
Source§impl<'config> Clone for ClojureLexer<'config>
impl<'config> Clone for ClojureLexer<'config>
Source§fn clone(&self) -> ClojureLexer<'config>
fn clone(&self) -> ClojureLexer<'config>
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<'config> Debug for ClojureLexer<'config>
impl<'config> Debug for ClojureLexer<'config>
Source§impl<'config> Lexer<ClojureLanguage> for ClojureLexer<'config>
impl<'config> Lexer<ClojureLanguage> for ClojureLexer<'config>
Source§fn lex<'a, S: Source + ?Sized>(
&self,
text: &S,
_edits: &[TextEdit],
cache: &'a mut impl LexerCache<ClojureLanguage>,
) -> LexOutput<ClojureLanguage>
fn lex<'a, S: Source + ?Sized>( &self, text: &S, _edits: &[TextEdit], cache: &'a mut impl LexerCache<ClojureLanguage>, ) -> LexOutput<ClojureLanguage>
Tokenizes the given source text into a sequence of tokens. Read more
Auto Trait Implementations§
impl<'config> Freeze for ClojureLexer<'config>
impl<'config> RefUnwindSafe for ClojureLexer<'config>
impl<'config> Send for ClojureLexer<'config>
impl<'config> Sync for ClojureLexer<'config>
impl<'config> Unpin for ClojureLexer<'config>
impl<'config> UnwindSafe for ClojureLexer<'config>
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