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