pub struct MatlabLanguage {}Implementations§
Trait Implementations§
Source§impl<'config> Builder<MatlabLanguage> for MatlabBuilder<'config>
impl<'config> Builder<MatlabLanguage> for MatlabBuilder<'config>
Source§fn build<'a, S: Source + ?Sized>(
&self,
source: &S,
edits: &[TextEdit],
_cache: &'a mut impl BuilderCache<MatlabLanguage>,
) -> BuildOutput<MatlabLanguage>
fn build<'a, S: Source + ?Sized>( &self, source: &S, edits: &[TextEdit], _cache: &'a mut impl BuilderCache<MatlabLanguage>, ) -> BuildOutput<MatlabLanguage>
Builds the structure from the source text.
Source§impl Clone for MatlabLanguage
impl Clone for MatlabLanguage
Source§fn clone(&self) -> MatlabLanguage
fn clone(&self) -> MatlabLanguage
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 MatlabLanguage
impl Debug for MatlabLanguage
Source§impl Default for MatlabLanguage
impl Default for MatlabLanguage
Source§impl<'de> Deserialize<'de> for MatlabLanguage
impl<'de> Deserialize<'de> for MatlabLanguage
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Language for MatlabLanguage
impl Language for MatlabLanguage
Source§const CATEGORY: LanguageCategory = LanguageCategory::Programming
const CATEGORY: LanguageCategory = LanguageCategory::Programming
The category of the language.
Source§type TokenType = MatlabSyntaxKind
type TokenType = MatlabSyntaxKind
The token type used to represent different token and node types in the language. Read more
Source§type ElementType = MatlabSyntaxKind
type ElementType = MatlabSyntaxKind
The element type used to represent composite structures in the parsed tree. Read more
Source§type TypedRoot = MatlabRoot
type TypedRoot = MatlabRoot
The root type for the parsed tree that represents the top-level structure of the language. Read more
Source§impl<'config> Lexer<MatlabLanguage> for MatlabLexer<'config>
impl<'config> Lexer<MatlabLanguage> for MatlabLexer<'config>
Source§fn lex<'a, S: Source + ?Sized>(
&self,
source: &S,
_edits: &[TextEdit],
cache: &'a mut impl LexerCache<MatlabLanguage>,
) -> LexOutput<MatlabLanguage>
fn lex<'a, S: Source + ?Sized>( &self, source: &S, _edits: &[TextEdit], cache: &'a mut impl LexerCache<MatlabLanguage>, ) -> LexOutput<MatlabLanguage>
Tokenizes the given source text into a sequence of tokens. Read more
Source§impl<'p> Parser<MatlabLanguage> for MatlabParser<'p>
impl<'p> Parser<MatlabLanguage> for MatlabParser<'p>
Source§fn parse<'a, S: Source + ?Sized>(
&self,
text: &'a S,
edits: &[TextEdit],
cache: &'a mut impl ParseCache<MatlabLanguage>,
) -> ParseOutput<'a, MatlabLanguage>
fn parse<'a, S: Source + ?Sized>( &self, text: &'a S, edits: &[TextEdit], cache: &'a mut impl ParseCache<MatlabLanguage>, ) -> ParseOutput<'a, MatlabLanguage>
The core parsing entry point. Read more
Source§impl Serialize for MatlabLanguage
impl Serialize for MatlabLanguage
impl Copy for MatlabLanguage
Auto Trait Implementations§
impl Freeze for MatlabLanguage
impl RefUnwindSafe for MatlabLanguage
impl Send for MatlabLanguage
impl Sync for MatlabLanguage
impl Unpin for MatlabLanguage
impl UnwindSafe for MatlabLanguage
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