compute_named_argument_clause

Function compute_named_argument_clause 

Source
pub fn compute_named_argument_clause<'db>(
    ctx: &mut ComputationContext<'db, '_>,
    arg_syntax: Arg<'db>,
    closure_params_tuple_ty: Option<TypeId<'db>>,
) -> NamedArg<'db>
Expand description

Computes the semantic model of an expression of type ast::Arg.

Returns the value and the optional argument name.