Trait perplex_runtime::StateSpace[][src]

pub trait StateSpace {
    type Terminal;
    type Nonterminal;
    type Root;
    fn root_state_fn<P: Parser<Terminal = Self::Terminal, Nonterminal = Self::Nonterminal>>(
    ) -> fn(_: &mut P);
fn root_goto_fn<P: Parser<Terminal = Self::Terminal, Nonterminal = Self::Nonterminal>>(
    ) -> fn(_: &mut P, _: Self::Nonterminal); }

A description of a parser's state space.

Associated Types

The type of terminals the parser emits.

The type of nonterminals the parser emits.

The type of the reduction produce by the root rule.

Required Methods

Return the root state function.

Return the root goto function.

Implementors