fn local_symbol(&self, name: &str) -> Option<Symbol> {
        for (local_name, symbol) in self.borrow_local_scope().locals.iter() {
            if local_name == name {
                return Some(symbol.clone());
            }
        }

        None
    }
/// Check the current scope for a local symbol.
Check the current scope for a local symbol.
Check the current scope for a local symbol .
fn local_symbol(&self, name: &str) -> Option<Symbol> {
        for (local_name, symbol) in self.borrow_local_scope().locals.iter() {
            if local_name == name {
                return Some(symbol.clone());
            }
        }
        None
    }
fn local_symbol ( & self , name : & str ) -> Option < Symbol > { for ( local_name , symbol ) in self . borrow_local_scope ( ) . locals . iter ( ) { if local_name == name { return Some ( symbol . clone ( ) ) ; } } None }
Check the current scope for a local symbol.
Check the current scope for a local symbol .
&self
name
&str