Struct gearley::grammar::History [] [src]

pub struct History {
    // some fields omitted
}

Methods

impl History

fn new(id: u32, len: usize) -> Self

fn origin(&self) -> RuleOrigin

fn dots(&self) -> &[RuleDot]

Trait Implementations

impl Action for History

fn no_op(&self) -> Self

impl Binarize for History

fn binarize<R>(&self, _rule: &R, depth: usize) -> Self

impl EliminateNulling for History

fn eliminate_nulling<R>(&self, rule: &R, subset: BinarizedRhsSubset) -> Self where R: GrammarRule

impl RewriteSequence for History

type Rewritten = History

fn top(&self, rhs: Symbol, sep: Option<Symbol>, new_rhs: &[Symbol]) -> Self

fn bottom(&self, rhs: Symbol, sep: Option<Symbol>, new_rhs: &[Symbol]) -> Self

Derived Implementations

impl Debug for History

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Default for History

fn default() -> History

impl Clone for History

fn clone(&self) -> History

1.0.0fn clone_from(&mut self, source: &Self)