Trait lalrpop_util::state_machine::ParserAction
source · 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;
}