pub struct ErrorRecoveryNode<'pr> { /* private fields */ }Expand description
Represents a node that is either missing or unexpected and results in a syntax error.
Implementations§
Source§impl<'pr> ErrorRecoveryNode<'pr>
impl<'pr> ErrorRecoveryNode<'pr>
Sourcepub fn flags(&self) -> pm_node_flags_t
pub fn flags(&self) -> pm_node_flags_t
Returns the flags of this node.
Sourcepub fn unexpected(&self) -> Option<Node<'pr>>
pub fn unexpected(&self) -> Option<Node<'pr>>
Returns the unexpected param
Trait Implementations§
Auto Trait Implementations§
impl<'pr> Freeze for ErrorRecoveryNode<'pr>
impl<'pr> RefUnwindSafe for ErrorRecoveryNode<'pr>
impl<'pr> !Send for ErrorRecoveryNode<'pr>
impl<'pr> !Sync for ErrorRecoveryNode<'pr>
impl<'pr> Unpin for ErrorRecoveryNode<'pr>
impl<'pr> !UnwindSafe for ErrorRecoveryNode<'pr>
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