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§
- Attribute
- This struct constains the property flags as described in the ECMAScript specification.
- NonMax
U32 - An integer that is not
u32::MAX. - Property
Descriptor - This represents an ECMAScript Property AKA The Property Descriptor.
- Property
Descriptor Builder - A builder for
PropertyDescriptor.
Enums§
- Descriptor
Kind DescriptorKindrepresents the different kinds of property descriptors.- Property
Key - This abstracts away the need for
IsPropertyKeyby transforming thePropertyKeyvalues into an enum with both valid types: String and Symbol