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:
It checks the parsed grammar for common mistakes:
Validates that the given
definitions
do not contain any Pest keywords.validate_rust_keywordsDeprecated
Validates that the given
definitions
do not contain any Rust keywords.Validates that the given
definitions
do not contain any undefined rules.