[−][src]Struct cfg::earley::history::History
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]
fn eliminate_nulling<R>(&self, rule: &R, subset: BinarizedRhsSubset) -> Self where
R: GrammarRule,
[src]
R: GrammarRule,
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
fn top(&self, rhs: Symbol, sep: Option<Symbol>, new_rhs: &[Symbol]) -> Self
[src]
fn bottom(&self, rhs: Symbol, sep: Option<Symbol>, new_rhs: &[Symbol]) -> Self
[src]
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]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,