Struct earlgrey::EarleyParser
[−]
[src]
pub struct EarleyParser { pub g: Grammar, }
Fields
g: Grammar
pub struct EarleyParser { pub g: Grammar, }
g: Grammar
impl EarleyParser
[src]fn new(grammar: Grammar) -> EarleyParser
fn parse(&self, tok: &mut Scanner<String>) -> Result<ParseTrees, ParseError>