pub(crate) struct MappedArguments {
binding_indices: Vec<Option<u32>>,
- environment: Gc<DeclarativeEnvironment>,
+ environment: Gc<DeclarativeEnvironment>,
}
Expand description
MappedArguments
represents an Arguments exotic object.
This struct stores all the data to access mapped function parameters in their environment.
-
Deletes the binding with the given index from the parameter map.
+
Deletes the binding with the given index from the parameter map.
Get the value of the binding at the given index from the function environment.
Note: This function is the abstract getter closure described in 10.4.4.7.1 MakeArgGetter ( name, env )
More information:
@@ -18,13 +18,13 @@
Performs copy-assignment from
source
.
Read more
Formats the value using the given formatter.
Read more
Executes the destructor for this type.
Read more
Cleanup logic for a type.
Trace handles located in GC heap, and mark them as non root.
Performs copy-assignment from
source
.
Read more
Formats the value using the given formatter.
Read more
Executes the destructor for this type.
Read more
Cleanup logic for a type.
Trace handles located in GC heap, and mark them as non root.
Immutably borrows from an owned value.
Read more
Performs copy-assignment from
source
.
Read more
Formats the value using the given formatter.
Read more
Cleanup logic for a type.