Trait cfg::ContextFreeRef [] [src]

pub trait ContextFreeRef<'a>: Deref where
    Self::Target: ContextFree
{ type RuleRef: GrammarRule<History = <Self::Target as RuleContainer>::History> + Copy + 'a; type Rules: Iterator<Item = Self::RuleRef>; fn rules(self) -> Self::Rules; }

This trait is currently needed to make the associated Rules iterator generic over a lifetime parameter.

Associated Types

Immutable reference to a rule.

Iterator over immutable references to the grammar's rules.

Required Methods

Returns an iterator over immutable references to the grammar's rules.

Implementors