Enum lalr::LRAction [] [src]

pub enum LRAction<'a, T: 'a, N: 'a, A: 'a> {
    Reduce(&'a N, &'a Rhs<T, N, A>),
    Shift(usize),
    Accept,
}

An action in an LR(1) parse table.

Variants

Reduce by the given rule.

Shift, moving to the given state.

Accept, ending the parse.

Trait Implementations

impl<'a, T: Debug + 'a, N: Debug + 'a, A: Debug + 'a> Debug for LRAction<'a, T, N, A>
[src]

Formats the value using the given formatter.