pub enum Step<T> {
Start(T),
Error(Error),
End,
Bump(Fingerprint),
Delete,
}Variants§
Start(T)
Error(Error)
End
Bump(Fingerprint)
Delete
Delete (skip) the current token. The token still appears in the CST wrapped in an Error node, but no grammar rule consumes it.
Implementations§
Trait Implementations§
impl<T: Eq> Eq for Step<T>
impl<T> StructuralPartialEq for Step<T>
Auto Trait Implementations§
impl<T> Freeze for Step<T>where
T: Freeze,
impl<T> RefUnwindSafe for Step<T>where
T: RefUnwindSafe,
impl<T> Send for Step<T>where
T: Send,
impl<T> Sync for Step<T>where
T: Sync,
impl<T> Unpin for Step<T>where
T: Unpin,
impl<T> UnsafeUnpin for Step<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for Step<T>where
T: UnwindSafe,
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