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