[−][src]Trait cyk::Grammar
The trait for a grammar. For a struct to be a grammar it must implement these methods.
Required methods
fn convert(&self) -> Vec<GrammarRule<'grammar>>
The convert function takes whatever struct you define and generates a Vector of Grammar Rules.