pub struct PrevParseInfo {
pub tokens: Vec<PrevToken>,
pub had_errors: bool,
}Expand description
Information from a previous parse needed for incremental re-parsing.
Fields§
§tokens: Vec<PrevToken>§had_errors: boolWhether the previous parse produced any errors. When true, stored bracket depths are not used for conflict classification (they may be misleading due to error-recovery changing the grammar context), so fingerprint conflicts are treated as free-pass rather than +50 role conflicts.
Auto Trait Implementations§
impl Freeze for PrevParseInfo
impl RefUnwindSafe for PrevParseInfo
impl Send for PrevParseInfo
impl Sync for PrevParseInfo
impl Unpin for PrevParseInfo
impl UnsafeUnpin for PrevParseInfo
impl UnwindSafe for PrevParseInfo
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