Skip to main content

call_shape

Function call_shape 

Source
pub fn call_shape(
    cx: &mut Cx,
    shape: &dyn Shape,
    target: ShapeCallTarget,
) -> Result<Value>
Expand description

Run a shape against a ShapeCallTarget and return the match as a value.

This is the matcher-call path: it dispatches to check_value or check_expr and wraps the ShapeMatch via shape_match_value.