Table of Contents

Documentation / PropertyAccessorDescriptor

PropertyAccessorDescriptor

Classes

PropertyAccessorDescriptor

Represents the descriptor of a specific property accessor

Constructors

new PropertyAccessorDescriptor()

new PropertyAccessorDescriptor(_accessor, _segments): PropertyAccessorDescriptor

Creates an instance of {PropertyAccessorDescriptor}.

Parameters
_accessor

PropertyAccessor

The actual accessor for accessing the property.

_segments

string[]

The segments representing the path of the property accessor within an instance.

Returns

PropertyAccessorDescriptor

Defined in

PropertyAccessorDescriptor.ts:16

Accessors

accessor
Get Signature

get accessor(): PropertyAccessor

Gets the actual accessor.

Returns

PropertyAccessor

Defined in

PropertyAccessorDescriptor.ts:23

path
Get Signature

get path(): string

Gets the full path to the property

Returns

string

Defined in

PropertyAccessorDescriptor.ts:39

segments
Get Signature

get segments(): readonly string[]

Gets the segments that constitute the deep path within the object instance for accessing the underlying property.

Returns

readonly string[]

Defined in

PropertyAccessorDescriptor.ts:31