pub struct MatlabParser<'a> { /* private fields */ }Expand description
MATLAB parser implementation.
Implementations§
Source§impl<'a> MatlabParser<'a>
impl<'a> MatlabParser<'a>
pub fn new(language: &'a MatlabLanguage) -> Self
Trait Implementations§
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
Auto Trait Implementations§
impl<'a> Freeze for MatlabParser<'a>
impl<'a> RefUnwindSafe for MatlabParser<'a>
impl<'a> Send for MatlabParser<'a>
impl<'a> Sync for MatlabParser<'a>
impl<'a> Unpin for MatlabParser<'a>
impl<'a> UnwindSafe for MatlabParser<'a>
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