pub struct JasmParser<'config> { /* private fields */ }Implementations§
Source§impl<'config> JasmParser<'config>
impl<'config> JasmParser<'config>
pub fn new(config: &'config JasmLanguage) -> Self
Trait Implementations§
Source§impl<'config> Parser<JasmLanguage> for JasmParser<'config>
impl<'config> Parser<JasmLanguage> for JasmParser<'config>
Source§fn parse<'a, S: Source + ?Sized>(
&self,
text: &'a S,
edits: &[TextEdit],
cache: &'a mut impl ParseCache<JasmLanguage>,
) -> ParseOutput<'a, JasmLanguage>
fn parse<'a, S: Source + ?Sized>( &self, text: &'a S, edits: &[TextEdit], cache: &'a mut impl ParseCache<JasmLanguage>, ) -> ParseOutput<'a, JasmLanguage>
The core parsing entry point. Read more
Auto Trait Implementations§
impl<'config> Freeze for JasmParser<'config>
impl<'config> RefUnwindSafe for JasmParser<'config>
impl<'config> Send for JasmParser<'config>
impl<'config> Sync for JasmParser<'config>
impl<'config> Unpin for JasmParser<'config>
impl<'config> UnwindSafe for JasmParser<'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