MCPcopy Create free account
hub / github.com/Amanieu/regalloc3 / FunctionParser

Class FunctionParser

src/debug_utils/generic_reginfo/parse.rs:19–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected