Trait cfg::history::Binarize [] [src]

pub trait Binarize {
    fn binarize<R>(&self, rule: &R, depth: usize) -> Self where R: GrammarRule;
}

Trait for history types that allow the rule to be binarized.

Required Methods

fn binarize<R>(&self, rule: &R, depth: usize) -> Self where R: GrammarRule

Returns a history. May record the binarization.

Implementors