Function pest_meta::parse_and_optimize
source · pub fn parse_and_optimize(
grammar: &str
) -> Result<(Vec<&'_ str>, Vec<OptimizedRule>), Vec<Error<Rule>>>
Expand description
Parses, validates, processes and optimizes the provided grammar.