pub struct ParserAtnPredictionDiagnostic {
pub kind: ParserAtnPredictionDiagnosticKind,
pub start_index: usize,
pub sll_stop_index: usize,
pub ll_stop_index: usize,
pub conflicting_alts: Vec<usize>,
pub exact: bool,
}Fields§
§kind: ParserAtnPredictionDiagnosticKind§start_index: usize§sll_stop_index: usize§ll_stop_index: usize§conflicting_alts: Vec<usize>§exact: boolFor ParserAtnPredictionDiagnosticKind::Ambiguity: whether the
full-context loop proved an exact ambiguity (Java’s exact flag —
the default DiagnosticErrorListener only reports exact ones).
Trait Implementations§
Source§impl Clone for ParserAtnPredictionDiagnostic
impl Clone for ParserAtnPredictionDiagnostic
Source§fn clone(&self) -> ParserAtnPredictionDiagnostic
fn clone(&self) -> ParserAtnPredictionDiagnostic
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Eq for ParserAtnPredictionDiagnostic
impl StructuralPartialEq for ParserAtnPredictionDiagnostic
Auto Trait Implementations§
impl Freeze for ParserAtnPredictionDiagnostic
impl RefUnwindSafe for ParserAtnPredictionDiagnostic
impl Send for ParserAtnPredictionDiagnostic
impl Sync for ParserAtnPredictionDiagnostic
impl Unpin for ParserAtnPredictionDiagnostic
impl UnsafeUnpin for ParserAtnPredictionDiagnostic
impl UnwindSafe for ParserAtnPredictionDiagnostic
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