Home Reference Source
import PropertyDescriptorAction from 'remote-context/lib/actions/PropertyDescriptorAction.js'
public class | source

PropertyDescriptorAction

Extends:

Action → PropertyDescriptorAction

Static Method Summary

Static Public Methods
public static

fromPropertyDescriptor(session: *, descriptor: *): *

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public
public
public

get: *

public

set: *

public

value: *

public

Method Summary

Public Methods
public

fetch(session: *): {"configurable": *, "enumerable": *, "get": *, "set": *}

public
public
public

Inherited Summary

From class Action
public

exec(session: Session): undefined | Promise

Execute the action.

public

fetch(session: Session): *

Fetch the action value.

public

Returns an arguments list for creating this instance remotely.

public

Get a string that represent this class.

Static Public Methods

public static fromPropertyDescriptor(session: *, descriptor: *): * source

Params:

NameTypeAttributeDescription
session *
descriptor *

Return:

*

Public Constructors

public constructor() source

Public Members

public configurable: * source

public enumerable: * source

public get: * source

public set: * source

public value: * source

public writable: * source

Public Methods

public fetch(session: *): {"configurable": *, "enumerable": *, "get": *, "set": *} source

Fetch the action value.

Override:

Action#fetch

Params:

NameTypeAttributeDescription
session *

Return:

{"configurable": *, "enumerable": *, "get": *, "set": *}

public isAccessorDescriptor(): * source

Return:

*

public isDataDescriptor(): * source

Return:

*

public toArgumentsList(): * source

Returns an arguments list for creating this instance remotely.

Override:

Action#toArgumentsList

Return:

*