Trait pest_grammars::Parser
source · pub trait Parser<R>where
R: RuleType,{
fn parse(rule: R, input: &str) -> Result<Pairs<'_, R>, Error<R>>;
}
Expand description
A trait with a single method that parses strings.
pub trait Parser<R>where
R: RuleType,{
fn parse(rule: R, input: &str) -> Result<Pairs<'_, R>, Error<R>>;
}
A trait with a single method that parses strings.