Enum rustlr::Stateaction [−][src]
Expand description
this enum is only exported because it’s used by the generated parsers. There is no reason to use it in other programs.
Variants
Shift(usize)
Tuple Fields
0: usize
Reduce(usize)
Tuple Fields
0: usize
Gotonext(usize)
Tuple Fields
0: usize
Accept
Error(&'static str)
Tuple Fields
0: &'static str
note: this has been changed after version 0.1.1 from String to &’static str for increased efficiency. Error action entries are not generated by rustlr: they can only be added with the parser’s training capability. Parsers already trained can be hand-modified by removing all instances of “.to_string()” from the load_extras function.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for Stateaction
impl Send for Stateaction
impl Sync for Stateaction
impl Unpin for Stateaction
impl UnwindSafe for Stateaction
Blanket Implementations
Mutably borrows from an owned value. Read more