[−][src]Trait cfg::rule::GrammarRule
Trait for rules of a context-free grammar.
Associated Types
type History
The type of history carried with the rule.
Required methods
fn lhs(&self) -> Symbol
Returns the rule's left-hand side.
fn rhs(&self) -> &[Symbol]
Returns the rule's right-hand side.
fn history(&self) -> &Self::History
Returns a reference to the history carried with the rule.
Implementations on Foreign Types
impl<'a, R> GrammarRule for &'a R where
R: GrammarRule,
[src]
R: GrammarRule,