| 17 | #[derive(Parser)] |
| 18 | #[grammar = "debug_utils/generic_reginfo/grammar.pest"] |
| 19 | pub struct FunctionParser; |
| 20 | |
| 21 | /// Helper function to extract N sub-pairs when the layout of a rule is fixed. |
| 22 | fn extract<const N: usize>(pair: Pair<'_, Rule>, expected_rules: [Rule; N]) -> [Pair<'_, Rule>; N] { |
nothing calls this directly
no outgoing calls
no test coverage detected