Flags

Details

class JavaScriptCore.ValuePropertyFlags(value)

Bases: GLib.Flags

Flags used when defining properties with JavaScriptCore.Value.object_define_property_data() and JavaScriptCore.Value.object_define_property_accessor().

CONFIGURABLE = 1

the type of the property descriptor may be changed and the property may be deleted from the corresponding object.

ENUMERABLE = 2

the property shows up during enumeration of the properties on the corresponding object.

WRITABLE = 4

the value associated with the property may be changed with an assignment operator. This doesn’t have any effect when passed to JavaScriptCore.Value.object_define_property_accessor().