Function js::jsapi::GetNearestEnclosingWithScopeObjectForFunction [] [src]

pub unsafe extern "C" fn GetNearestEnclosingWithScopeObjectForFunction(
    fun: *mut JSFunction
) -> *mut JSObject

Get the nearest enclosing with scope object for a given function. If the function is not scripted or is not enclosed by a with scope, returns the global.