cairo_lang_semantic::expr::compute

Function compute_named_argument_clause

source
pub fn compute_named_argument_clause(
    ctx: &mut ComputationContext<'_>,
    arg_syntax: Arg,
) -> NamedArg
Expand description

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

Returns the value and the optional argument name.