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