Skip to main content

push_scope

Function push_scope 

Source
pub fn push_scope(interpreter: &mut Interpreter)
Expand description

Push a new child scope on the interpreter’s environment. Used for loop bodies so loop vars don’t leak to outer scope.