pub struct VbNetLanguage;Expand description
VB.NET language definition
Implementations§
Source§impl VbNetLanguage
impl VbNetLanguage
Trait Implementations§
Source§impl<'config> Builder<VbNetLanguage> for VbNetBuilder<'config>
impl<'config> Builder<VbNetLanguage> for VbNetBuilder<'config>
Source§fn build<'a, S: Source + ?Sized>(
&self,
source: &'a S,
edits: &[TextEdit],
cache: &'a mut impl BuilderCache<VbNetLanguage>,
) -> BuildOutput<VbNetLanguage>
fn build<'a, S: Source + ?Sized>( &self, source: &'a S, edits: &[TextEdit], cache: &'a mut impl BuilderCache<VbNetLanguage>, ) -> BuildOutput<VbNetLanguage>
Builds the higher-level structure (typically an AST) from the source text. Read more
Source§impl Clone for VbNetLanguage
impl Clone for VbNetLanguage
Source§fn clone(&self) -> VbNetLanguage
fn clone(&self) -> VbNetLanguage
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 Debug for VbNetLanguage
impl Debug for VbNetLanguage
Source§impl Hash for VbNetLanguage
impl Hash for VbNetLanguage
Source§impl Language for VbNetLanguage
impl Language for VbNetLanguage
Source§const CATEGORY: LanguageCategory = LanguageCategory::Programming
const CATEGORY: LanguageCategory = LanguageCategory::Programming
The category of the language.
Source§type TokenType = VbNetTokenType
type TokenType = VbNetTokenType
The token type used to represent different token and node types in the language. Read more
Source§type ElementType = VbNetElementType
type ElementType = VbNetElementType
The element type used to represent composite structures in the parsed tree. Read more
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
Source§impl<'config> Parser<VbNetLanguage> for VbNetParser<'config>
impl<'config> Parser<VbNetLanguage> for VbNetParser<'config>
Source§fn parse<'a, S: Source + ?Sized>(
&self,
text: &'a S,
edits: &[TextEdit],
cache: &'a mut impl ParseCache<VbNetLanguage>,
) -> ParseOutput<'a, VbNetLanguage>
fn parse<'a, S: Source + ?Sized>( &self, text: &'a S, edits: &[TextEdit], cache: &'a mut impl ParseCache<VbNetLanguage>, ) -> ParseOutput<'a, VbNetLanguage>
The core parsing entry point for converting tokens into a syntax tree. Read more
Source§impl PartialEq for VbNetLanguage
impl PartialEq for VbNetLanguage
impl Eq for VbNetLanguage
impl StructuralPartialEq for VbNetLanguage
Auto Trait Implementations§
impl Freeze for VbNetLanguage
impl RefUnwindSafe for VbNetLanguage
impl Send for VbNetLanguage
impl Sync for VbNetLanguage
impl Unpin for VbNetLanguage
impl UnsafeUnpin for VbNetLanguage
impl UnwindSafe for VbNetLanguage
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