pub struct PascalLexer;Implementations§
Source§impl PascalLexer
impl PascalLexer
pub fn new(_config: &PascalLanguage) -> Self
Trait Implementations§
Source§impl Clone for PascalLexer
impl Clone for PascalLexer
Source§fn clone(&self) -> PascalLexer
fn clone(&self) -> PascalLexer
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 Default for PascalLexer
impl Default for PascalLexer
Source§fn default() -> PascalLexer
fn default() -> PascalLexer
Returns the “default value” for a type. Read more
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 Freeze for PascalLexer
impl RefUnwindSafe for PascalLexer
impl Send for PascalLexer
impl Sync for PascalLexer
impl Unpin for PascalLexer
impl UnwindSafe for PascalLexer
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