pest_meta::parser

Function parse

Source
pub fn parse(rule: Rule, data: &str) -> Result<Pairs<'_, Rule>, Error<Rule>>
Expand description

A helper that will parse using the pest grammar