Trait cfg::history::AssignPrecedence [] [src]

pub trait AssignPrecedence {
    fn assign_precedence<R>(&self, rule: &R, looseness: u32) -> Self where R: GrammarRule;
}

Trait for history types that allow the rule to have its precedence assigned.

Required Methods

fn assign_precedence<R>(&self, rule: &R, looseness: u32) -> Self where R: GrammarRule

Returns a history. May record the precedence.

Implementors