pub fn assign_local(&mut self, idx: usize, value: Value) -> Option<()> {
        if let Some(local) = self.locals.values_mut().nth(idx) {
            *local = value;
            return Some(());
        }
        let super_class = self.super_class()?;
        super_class.borrow_mut().assign_local(idx, value)?;
        Some(())
    }
/// Assign a value to a local binding.
Assign a value to a local binding.
Assign a value to a local binding .
pub fn assign_local(&mut self, idx: usize, value: Value) -> Option<()> {
        if let Some(local) = self.locals.values_mut().nth(idx) {
            *local = value;
            return Some(());
        }
        let super_class = self.super_class()?;
        super_class.borrow_mut().assign_local(idx, value)?;
        Some(())
    }
pub fn assign_local ( & mut self , idx : usize , value : Value ) -> Option < ( ) > { if let Some ( local ) = self . locals . values_mut ( ) . nth ( idx ) { * local = value ; return Some ( ( ) ) ; } let super_class = self . super_class ( ) ? ; super_class . borrow_mut ( ) . assign_local ( idx , value ) ? ; Some ( ( ) ) }
Assign a value to a local binding.
Assign a value to a local binding .
&mut self
idx
usize
value
Value