#[derive(Parser)] { // Attributes available to this derive: #[grammar] #[grammar_inline] }
The main method that’s called by the proc macro (a wrapper around pest_generator::derive_parser)
pest_generator::derive_parser