[][src]Enum lrtable::statetable::Action

pub enum Action<StorageT> {
    Shift(StIdx),
    Reduce(PIdx<StorageT>),
    Accept,
    Error,
}

Variants

Shift(StIdx)

Shift to state X in the statetable.

Reduce(PIdx<StorageT>)

Reduce production X in the grammar.

Accept

Accept this input.

Error

No valid action.

Trait Implementations

impl<StorageT: Clone> Clone for Action<StorageT>[src]

impl<StorageT: Copy> Copy for Action<StorageT>[src]

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

impl<StorageT: PartialEq> PartialEq<Action<StorageT>> for Action<StorageT>[src]

impl<StorageT> StructuralPartialEq for Action<StorageT>[src]

Auto Trait Implementations

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

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

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

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

impl<StorageT> UnwindSafe for Action<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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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