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§
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
Object Safety§
This trait is not object safe.