pub struct MsilLanguage;Implementations§
Source§impl MsilLanguage
impl MsilLanguage
Trait Implementations§
Source§impl<'config> Builder<MsilLanguage> for MsilBuilder<'config>
impl<'config> Builder<MsilLanguage> for MsilBuilder<'config>
Source§fn build<'a, S: Source + ?Sized>(
&self,
source: &S,
edits: &[TextEdit],
_cache: &'a mut impl BuilderCache<MsilLanguage>,
) -> OakDiagnostics<MsilRoot>
fn build<'a, S: Source + ?Sized>( &self, source: &S, edits: &[TextEdit], _cache: &'a mut impl BuilderCache<MsilLanguage>, ) -> OakDiagnostics<MsilRoot>
Builds the structure from the source text.
Source§impl Clone for MsilLanguage
impl Clone for MsilLanguage
Source§fn clone(&self) -> MsilLanguage
fn clone(&self) -> MsilLanguage
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 MsilLanguage
impl Debug for MsilLanguage
Source§impl Default for MsilLanguage
impl Default for MsilLanguage
Source§impl Hash for MsilLanguage
impl Hash for MsilLanguage
Source§impl HoverProvider<MsilLanguage> for MsilHoverProvider
Available on crate feature lsp only.
impl HoverProvider<MsilLanguage> for MsilHoverProvider
Available on crate feature
lsp only.Source§impl Language for MsilLanguage
impl Language for MsilLanguage
Source§type TokenType = MsilTokenType
type TokenType = MsilTokenType
The token type used to represent different token and node types in the language. Read more
Source§type ElementType = MsilElementType
type ElementType = MsilElementType
The element type used to represent composite structures in the parsed tree. Read more
Source§type TypedRoot = MsilRoot
type TypedRoot = MsilRoot
The root type for the parsed tree that represents the top-level structure of the language. Read more
Source§const CATEGORY: LanguageCategory = LanguageCategory::Programming
const CATEGORY: LanguageCategory = LanguageCategory::Programming
The category of the language.
Source§impl Lexer<MsilLanguage> for MsilLexer<'_>
impl Lexer<MsilLanguage> for MsilLexer<'_>
Source§fn lex<'a, S: Source + ?Sized>(
&self,
source: &'a S,
_edits: &[TextEdit],
cache: &'a mut impl LexerCache<MsilLanguage>,
) -> LexOutput<MsilLanguage>
fn lex<'a, S: Source + ?Sized>( &self, source: &'a S, _edits: &[TextEdit], cache: &'a mut impl LexerCache<MsilLanguage>, ) -> LexOutput<MsilLanguage>
Tokenizes the given source text into a sequence of tokens. Read more
Source§impl<'config> Parser<MsilLanguage> for MsilParser<'config>
impl<'config> Parser<MsilLanguage> for MsilParser<'config>
Source§fn parse<'a, S: Source + ?Sized>(
&self,
text: &'a S,
edits: &[TextEdit],
cache: &'a mut impl ParseCache<MsilLanguage>,
) -> ParseOutput<'a, MsilLanguage>
fn parse<'a, S: Source + ?Sized>( &self, text: &'a S, edits: &[TextEdit], cache: &'a mut impl ParseCache<MsilLanguage>, ) -> ParseOutput<'a, MsilLanguage>
The core parsing entry point. Read more
Source§impl PartialEq for MsilLanguage
impl PartialEq for MsilLanguage
impl Copy for MsilLanguage
impl Eq for MsilLanguage
impl StructuralPartialEq for MsilLanguage
Auto Trait Implementations§
impl Freeze for MsilLanguage
impl RefUnwindSafe for MsilLanguage
impl Send for MsilLanguage
impl Sync for MsilLanguage
impl Unpin for MsilLanguage
impl UnsafeUnpin for MsilLanguage
impl UnwindSafe for MsilLanguage
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