Struct gallop::Parser
[−]
[src]
pub struct Parser<'a> { /* fields omitted */ }
Methods
impl<'a> Parser<'a>
[src]
fn new(grammar: &'a Grammar) -> Result<Parser<'a>, GrammarError<'a>>
fn parse(&mut self, input: &'a str) -> Result<ParseTree<'a>, ParseError>
Trait Implementations
impl<'a> Clone for Parser<'a>
[src]
fn clone(&self) -> Parser<'a>
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