cairo_lang_semantic::expr::compute

Function maybe_compute_expr_semantic

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

Computes the semantic model of an expression, or returns a SemanticDiagnosticKind on error.