Enum perplex::machine::Action[][src]

pub enum Action {
    Shift(StateId),
    Reduce(RuleId),
}

An action to be taken upon encountering a symbol.

Variants

Shift the symbol and go to the given state.

Reduce with the given rule.

Trait Implementations

impl Debug for Action
[src]

Formats the value using the given formatter. Read more

impl Copy for Action
[src]

impl Clone for Action
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Action
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for Action
[src]

impl Hash for Action
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

Auto Trait Implementations

impl Send for Action

impl Sync for Action