cairo_lang_semantic::expr::compute

Function compute_expr_semantic

Source
pub fn compute_expr_semantic(
    ctx: &mut ComputationContext<'_>,
    syntax: &Expr,
) -> ExprAndId
Expand description

Computes the semantic model of an expression. Note that this expr will always be “registered” in the arena, so it can be looked up in the language server.