[][src]Trait lalrpop_util::state_machine::ParserAction

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

Required methods

pub fn as_shift(self) -> Option<D::StateIndex>[src]

pub fn as_reduce(self) -> Option<D::ReduceIndex>[src]

pub fn is_shift(self) -> bool[src]

pub fn is_reduce(self) -> bool[src]

pub fn is_error(self) -> bool[src]

Loading content...

Implementations on Foreign Types

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

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

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

Loading content...

Implementors

Loading content...