Skip to main content

codegen_expr_with_async

Function codegen_expr_with_async 

Source
pub fn codegen_expr_with_async(
    expr: &Expr<'_>,
    interner: &Interner,
    synced_vars: &HashSet<Symbol>,
    async_functions: &HashSet<Symbol>,
    variable_types: &HashMap<Symbol, String>,
) -> String
Available on crate feature codegen only.
Expand description

Phase 54+: Codegen expression with async function tracking. Adds .await to async function calls at the expression level, handling nested calls.