pub struct DParser<'config> { /* private fields */ }Expand description
A parser for the D language.
Implementations§
Trait Implementations§
Source§impl<'config> Pratt<DLanguage> for DParser<'config>
impl<'config> Pratt<DLanguage> for DParser<'config>
Source§fn primary<'a, S: Source + ?Sized>(
&self,
state: &mut ParserState<'a, DLanguage, S>,
) -> &'a GreenNode<'a, DLanguage>
fn primary<'a, S: Source + ?Sized>( &self, state: &mut ParserState<'a, DLanguage, S>, ) -> &'a GreenNode<'a, DLanguage>
Parses a primary expression (e.g., literals, identifiers, group).
Auto Trait Implementations§
impl<'config> Freeze for DParser<'config>
impl<'config> RefUnwindSafe for DParser<'config>
impl<'config> Send for DParser<'config>
impl<'config> Sync for DParser<'config>
impl<'config> Unpin for DParser<'config>
impl<'config> UnsafeUnpin for DParser<'config>
impl<'config> UnwindSafe for DParser<'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