pub fn positional_macro_shape(
head: Symbol,
fixed: &[Symbol],
rest: Option<&Symbol>,
) -> Arc<dyn Shape>Expand description
Builds a macro syntax shape that captures named positional parameters and an optional rest parameter after the head symbol.