pub struct LRkAutomaton { /* private fields */ }
Expand description

Represents the LR(k) parsing table and productions

Implementations§

Initializes a new automaton from the given binary data

Gets the number of states in this automaton

Gets the contexts opened by the specified state

Gets the LR(k) action for the given state and sid

Gets the i-th production

Gets the expected terminals for the specified state

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.