Trait pest::Parser [] [src]

pub trait Parser<R: RuleType> {
    fn parse(rule: R, input: &str) -> Result<Pairs<R>, Error<R>>;
}

A trait that defines a Parser.

Required Methods

Parses an &str starting from rule.

Implementors