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