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