DescriptorInfo

A property descriptor in the form the engine works with, rather than as a script object. Every field holds Scriptable.NOT_FOUND when the descriptor does not mention it.

Constructors

Link copied to clipboard
constructor(desc: ScriptableObject)

Reads a descriptor out of a script object: ToPropertyDescriptor (ECMAScript 2015, 6.2.4.5). Each field is asked for with HasProperty before it is read, in the spec's order, and the three flags become booleans. Upstream read every field with a bare get in its own order and kept the raw values, so a proxy descriptor answering undefined for get looked like an accessor and {enumerable: 1} compared unequal to true.

constructor(desc: Scriptable)
constructor(enumerable: Boolean, writable: Boolean, configurable: Boolean, value: Any?)
constructor(enumerable: Any?, writable: Any?, configurable: Any?, getter: Any?, setter: Any?, value: Any?)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var getter: Any?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var setter: Any?
Link copied to clipboard
var value: Any?
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard