[][src]Struct lrtable::statetable::Conflicts

pub struct Conflicts<StorageT> { /* fields omitted */ }

Implementations

impl<StorageT: 'static + Hash + PrimInt + Unsigned> Conflicts<StorageT> where
    usize: AsPrimitive<StorageT>,
    u32: AsPrimitive<StorageT>, 
[src]

pub fn sr_conflicts(
    &self
) -> impl Iterator<Item = &(TIdx<StorageT>, PIdx<StorageT>, StIdx)>
[src]

Return an iterator over all shift/reduce conflicts.

pub fn rr_conflicts(
    &self
) -> impl Iterator<Item = &(PIdx<StorageT>, PIdx<StorageT>, StIdx)>
[src]

Return an iterator over all reduce/reduce conflicts.

pub fn sr_len(&self) -> usize[src]

How many shift/reduce conflicts are there?

pub fn rr_len(&self) -> usize[src]

How many reduce/reduce conflicts are there?

pub fn pp(&self, grm: &YaccGrammar<StorageT>) -> String[src]

Returns a pretty-printed version of the conflicts.

Trait Implementations

impl<StorageT: Debug> Debug for Conflicts<StorageT>[src]

Auto Trait Implementations

impl<StorageT> RefUnwindSafe for Conflicts<StorageT> where
    StorageT: RefUnwindSafe

impl<StorageT> Send for Conflicts<StorageT> where
    StorageT: Send

impl<StorageT> Sync for Conflicts<StorageT> where
    StorageT: Sync

impl<StorageT> Unpin for Conflicts<StorageT> where
    StorageT: Unpin

impl<StorageT> UnwindSafe for Conflicts<StorageT> where
    StorageT: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Err = <U as TryFrom<T>>::Err