Struct earlgrey::Grammar
[−]
[src]
pub struct Grammar { /* fields omitted */ }
Methods
impl Grammar
[src]
fn start(&self) -> String
fn predict_new(&self, name: &str, state_idx: usize) -> Vec<Item>
fn rules(&self) -> Vec<String>
Trait Implementations
impl Clone for Grammar
[src]
fn clone(&self) -> Grammar
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more