Module boa_engine::property
source · Expand description
Boa’s implementation of ECMAScript’s Property Descriptor.
The Property Descriptor type is used to explain the manipulation and reification of Object
property attributes. Values of the Property Descriptor type are Records. Each field’s name is
an attribute name and its value is a corresponding attribute value as specified in
6.1.7.1. In addition, any field may be present or absent. The schema name used
within this specification to tag literal descriptions of Property Descriptor records is
PropertyDescriptor
.
More information:
Structs§
- This struct constains the property flags as described in the ECMAScript specification.
- An integer that is not
u32::MAX
. - This represents an ECMAScript Property AKA The Property Descriptor.
- A builder for
PropertyDescriptor
.
Enums§
DescriptorKind
represents the different kinds of property descriptors.- This abstracts away the need for
IsPropertyKey
by transforming thePropertyKey
values into an enum with both valid types: String and Symbol