pub fn new_with_scope(
        parent_scope: GcCell<'gc, Self>,
        with_object: Object<'gc>,
        mc: MutationContext<'gc, '_>,
    ) -> GcCell<'gc, Self> {
        GcCell::allocate(
            mc,
            Scope {
                parent: Some(parent_scope),
                class: ScopeClass::With,
                values: with_object,
            },
        )
    }
/// Construct a with scope to be used as the scope during a with block.
///
/// A with block adds an object to the top of the scope chain, so unqualified
/// references will try to resolve on that object first.
Construct a with scope to be used as the scope during a with block.
A with block adds an object to the top of the scope chain, so unqualified
references will try to resolve on that object first.
Construct a with scope to be used as the scope during a with block . A with block adds an object to the top of the scope chain so unqualified references will try to resolve on that object first .
pub fn new_with_scope(
        parent_scope: GcCell<'gc, Self>,
        with_object: Object<'gc>,
        mc: MutationContext<'gc, '_>,
    ) -> GcCell<'gc, Self> {
        GcCell::allocate(
            mc,
            Scope {
                parent: Some(parent_scope),
                class: ScopeClass::With,
                values: with_object,
            },
        )
    }
pub fn new_with_scope ( parent_scope : GcCell < ' gc , Self > , with_object : Object < ' gc > , mc : MutationContext < ' gc , ' _ > , ) -> GcCell < ' gc , Self > { GcCell :: allocate ( mc , Scope { parent : Some ( parent_scope ) , class : ScopeClass :: With , values : with_object , } , ) }
Construct a with scope to be used as the scope during a with block.
Construct a with scope to be used as the scope during a with block .
parent_scope
GcCell<'gc, Self>
with_object
Object<'gc>
mc
MutationContext<'gc, '_>
parent_scope
GcCell<'gc, Self>
with_object
Object<'gc>
mc
MutationContext<'gc, '_>