pub fn mutate_grammar_start_rule(
grammar: &Grammar,
marker: &str,
) -> Result<Grammar, GrammarRoundTripError>Expand description
Adds marker as a literal alternative of the start rule.
PEG grammars get an ordered choice, every other notation an unordered one, so the mutation is expressible without a lossy fallback.