[−][src]Trait cfg::ContextFree
Trait for context-free grammars.
Provided methods
fn rule(&mut self, lhs: Symbol) -> RuleBuilder<&mut Self>
Starts building a new rule.
fn precedenced_rule(&mut self, lhs: Symbol) -> PrecedencedRuleBuilder<&mut Self> where
Self::History: AssignPrecedence + Default,
Self::History: AssignPrecedence + Default,
Starts building a new precedenced rule.
Implementors
impl ContextFree for BinarizedGrammar
[src]
impl<H> ContextFree for BinarizedCfg<H> where
H: Binarize,
[src]
H: Binarize,
impl<H, Hs> ContextFree for Cfg<H, Hs> where
Hs: Clone + RewriteSequence<Rewritten = H>,
[src]
Hs: Clone + RewriteSequence<Rewritten = H>,