[][src]Struct cfg::earley::history::History

pub struct History {
    pub dots: Vec<RuleDot>,
    pub origin: Option<u32>,
    pub nullable: Option<(Symbol, bool)>,
}

Fields

dots: Vec<RuleDot>origin: Option<u32>nullable: Option<(Symbol, bool)>

Methods

impl History[src]

pub fn new(id: u32, len: usize) -> Self[src]

pub fn origin(&self) -> Option<u32>[src]

pub fn nullable(&self) -> Option<(Symbol, bool)>[src]

pub fn dot(&self, n: usize) -> RuleDot[src]

Trait Implementations

impl Action for History[src]

impl Binarize for History[src]

impl EliminateNulling for History[src]

impl RewriteSequence for History[src]

type Rewritten = History

Must be an Action, because all created grammar rules except the topmost one will have no-op semantic action. Read more

impl HistorySource<History> for BuildHistory[src]

impl Clone for History[src]

impl Default for History[src]

impl Debug for History[src]

Auto Trait Implementations

impl Send for History

impl Sync for History

impl Unpin for History

impl UnwindSafe for History

impl RefUnwindSafe for History

Blanket Implementations

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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]