[][src]Struct cfg::classification::lr::Lr0FsmBuilder

pub struct Lr0FsmBuilder<'a, G> { /* fields omitted */ }

Builder of LR(0) Finite State Machine.

Methods

impl<'a, G> Lr0FsmBuilder<'a, G> where
    G: ContextFree,
    &'b G: ContextFreeRef<'b, Target = G>,
    G::History: Default
[src]

pub fn new(grammar: &'a mut G) -> Self[src]

Creates a new LR(0) Finite State Machine builder.

pub fn make_lr0_fsm(&mut self, start_sym: Symbol) -> Vec<Lr0Node>[src]

Construct an LR(0) Finite State Machine.

Auto Trait Implementations

impl<'a, G> !Send for Lr0FsmBuilder<'a, G>

impl<'a, G> !Sync for Lr0FsmBuilder<'a, G>

impl<'a, G> Unpin for Lr0FsmBuilder<'a, G>

impl<'a, G> !UnwindSafe for Lr0FsmBuilder<'a, G>

impl<'a, G> !RefUnwindSafe for Lr0FsmBuilder<'a, G>

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]