/// Define a variable in the global scope that is an ultimate
/// parent of this scope.
Define a variable in the global scope that is an ultimate
parent of this scope.
Define a variable in the global scope that is an ultimate parent of this scope .
pub fn define_global(&self, name: Name, val: Value) {
        if let Some(ref parent) = self.parent {
            parent.define_global(name, val);
        } else {
            self.variables.lock().unwrap().insert(name, val);
        }
    }
pub fn define_global ( & self , name : Name , val : Value ) { if let Some ( ref parent ) = self . parent { parent . define_global ( name , val ) ; } else { self . variables . lock ( ) . unwrap ( ) . insert ( name , val ) ; } }
Define a variable in the global scope that is an ultimate
parent of this scope.
Define a variable in the global scope that is an ultimate parent of this scope .
&self
name
Name
val
Value