struct Protocol::Runtime::PropertyDescriptor
- Protocol::Runtime::PropertyDescriptor
- Struct
- Value
- Object
Overview
Object property descriptor.
Included Modules
- JSON::Serializable
Defined in:
protocol/runtime.crConstructors
Instance Method Summary
-
#configurable : Bool
True if the type of this property descriptor may be changed and if the property may be deleted from the corresponding object.
-
#enumerable : Bool
True if this property shows up during enumeration of the properties on the corresponding object.
-
#get : RemoteObject | Nil
A function which serves as a getter for the property, or
undefined
if there is no getter (accessor descriptors only). -
#is_own : Bool | Nil
True if the property is owned for the object.
-
#name : String
Property name or symbol description.
-
#set : RemoteObject | Nil
A function which serves as a setter for the property, or
undefined
if there is no setter (accessor descriptors only). -
#symbol : RemoteObject | Nil
Property symbol object, if the property is of the
#symbol
type. -
#value : RemoteObject | Nil
The value associated with the property.
-
#was_thrown : Bool | Nil
True if the result was thrown during the evaluation.
-
#writable : Bool | Nil
True if the value associated with the property may be changed (data descriptors only).
Constructor Detail
Instance Method Detail
True if the type of this property descriptor may be changed and if the property may be deleted from the corresponding object.
True if this property shows up during enumeration of the properties on the corresponding object.
A function which serves as a getter for the property, or undefined
if there is no getter
(accessor descriptors only).
A function which serves as a setter for the property, or undefined
if there is no setter
(accessor descriptors only).
True if the value associated with the property may be changed (data descriptors only).