pub(crate) fn insert(
        &mut self,
        name: Word,
        local_variable: validated::LocalVariable,
    ) -> Option<Definition> {
        self.names
            .insert(name, Definition::LocalVariable(local_variable))
    }
/// Inserts a local variable into the scope. Returns any definition that is now shadowed as a result.
Inserts a local variable into the scope. Returns any definition that is now shadowed as a result.
Inserts a local variable into the scope . Returns any definition that is now shadowed as a result .
pub(crate) fn insert(
        &mut self,
        name: Word,
        local_variable: validated::LocalVariable,
    ) -> Option<Definition> {
        self.names
            .insert(name, Definition::LocalVariable(local_variable))
    }
pub ( crate ) fn insert ( & mut self , name : Word , local_variable : validated :: LocalVariable , ) -> Option < Definition > { self . names . insert ( name , Definition :: LocalVariable ( local_variable ) ) }
Inserts a local variable into the scope.
Inserts a local variable into the scope .
&mut self
name
Word
local_variable
validated::LocalVariable
&mut self
name
Word
local_variable
validated::LocalVariable