Skip to main content

run_statement

Function run_statement 

Source
pub fn run_statement(
    state: &mut InterpState<'_>,
    stmt: &Statement,
) -> Result<RuntimeValue>
Expand description

Walk a Statement tree, threading mutable interpreter state. Returns the last-expression value (the circuit’s implicit return), or Value::Null if no expression contributed a value.