pub struct PrologLexer {}Implementations§
Source§impl PrologLexer
impl PrologLexer
pub fn new(_config: &PrologLanguage) -> Self
Trait Implementations§
Source§impl Clone for PrologLexer
impl Clone for PrologLexer
Source§fn clone(&self) -> PrologLexer
fn clone(&self) -> PrologLexer
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 PrologLexer
impl Default for PrologLexer
Source§fn default() -> PrologLexer
fn default() -> PrologLexer
Returns the “default value” for a type. Read more
Source§impl Lexer<PrologLanguage> for PrologLexer
impl Lexer<PrologLanguage> for PrologLexer
Source§fn lex<'a, S: Source + ?Sized>(
&self,
source: &'a S,
_edits: &[TextEdit],
cache: &'a mut impl LexerCache<PrologLanguage>,
) -> LexOutput<PrologLanguage>
fn lex<'a, S: Source + ?Sized>( &self, source: &'a S, _edits: &[TextEdit], cache: &'a mut impl LexerCache<PrologLanguage>, ) -> LexOutput<PrologLanguage>
Tokenizes the given source text into a sequence of tokens. Read more
Auto Trait Implementations§
impl Freeze for PrologLexer
impl RefUnwindSafe for PrologLexer
impl Send for PrologLexer
impl Sync for PrologLexer
impl Unpin for PrologLexer
impl UnwindSafe for PrologLexer
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