Expand description
Helpers for validating pest grammars that could help with debugging and provide a more user-friendly error message.
Functions
Validates that the given
definitions
do not contain any duplicate rules.Validates the abstract syntax tree for common mistakes:
The parsed grammar for common mistakes:
Validates that the given
definitions
do not contain any Pest keywords.Validates that the given
definitions
do not contain any Rust keywords.Validates that the given
definitions
do not contain any undefined rules.