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

Class FunctionParser

src/debug_utils/generic_function/parse.rs:22–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20#[derive(Parser)]
21#[grammar = "debug_utils/generic_function/grammar.pest"]
22pub struct FunctionParser;
23
24/// Helper function to extract N sub-pairs when the layout of a rule is fixed.
25fn 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