Skip to main content

cpp_comparable_parameter_shapes

Function cpp_comparable_parameter_shapes 

Source
pub fn cpp_comparable_parameter_shapes(
    function_declarator: Node<'_>,
    source: &str,
) -> Vec<CppComparableSlot>
Expand description

The comparable shape of each invocation parameter, in declaration order.

The result is index-parallel with cpp_callable_parameter_type_identities; a parameter that admits no comparable shape is CppComparableSlot::Unstructured, which a comparison must treat as evidence of nothing rather than as agreement.