[−][src]Struct lrtable::statetable::Conflicts
Implementations
impl<StorageT: 'static + Hash + PrimInt + Unsigned> Conflicts<StorageT> where
usize: AsPrimitive<StorageT>,
u32: AsPrimitive<StorageT>,
[src]
usize: AsPrimitive<StorageT>,
u32: AsPrimitive<StorageT>,
pub fn sr_conflicts(
&self
) -> impl Iterator<Item = &(TIdx<StorageT>, PIdx<StorageT>, StIdx)>
[src]
&self
) -> impl Iterator<Item = &(TIdx<StorageT>, PIdx<StorageT>, StIdx)>
Return an iterator over all shift/reduce conflicts.
pub fn rr_conflicts(
&self
) -> impl Iterator<Item = &(PIdx<StorageT>, PIdx<StorageT>, StIdx)>
[src]
&self
) -> impl Iterator<Item = &(PIdx<StorageT>, PIdx<StorageT>, StIdx)>
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
Auto Trait Implementations
impl<StorageT> RefUnwindSafe for Conflicts<StorageT> where
StorageT: RefUnwindSafe,
StorageT: RefUnwindSafe,
impl<StorageT> Send for Conflicts<StorageT> where
StorageT: Send,
StorageT: Send,
impl<StorageT> Sync for Conflicts<StorageT> where
StorageT: Sync,
StorageT: Sync,
impl<StorageT> Unpin for Conflicts<StorageT> where
StorageT: Unpin,
StorageT: Unpin,
impl<StorageT> UnwindSafe for Conflicts<StorageT> where
StorageT: UnwindSafe,
StorageT: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,