pub trait ParserAction<D: ParserDefinition>: Copy + Clone + Debug {
    // Required methods
    fn as_shift(self) -> Option<D::StateIndex>;
    fn as_reduce(self) -> Option<D::ReduceIndex>;
    fn is_shift(self) -> bool;
    fn is_reduce(self) -> bool;
    fn is_error(self) -> bool;
}

Required Methods§

Implementations on Foreign Types§

source§

impl<D: ParserDefinition<StateIndex = i8, ReduceIndex = i8>> ParserAction<D> for i8

source§

impl<D: ParserDefinition<StateIndex = i32, ReduceIndex = i32>> ParserAction<D> for i32

source§

impl<D: ParserDefinition<StateIndex = i16, ReduceIndex = i16>> ParserAction<D> for i16

Implementors§