public class RejectPromiseNode extends JavaScriptBaseNode
| Modifier | Constructor and Description |
|---|---|
protected |
RejectPromiseNode(JSContext context) |
| Modifier and Type | Method and Description |
|---|---|
static RejectPromiseNode |
create(JSContext context) |
Object |
execute(JSPromiseObject promise,
Object reason) |
copy, getLanguage, getRealm, hasOverloadedOperators, onReplaceaccept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, getSourceSection, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, replace, replace, reportPolymorphicSpecialize, toStringprotected RejectPromiseNode(JSContext context)
public static RejectPromiseNode create(JSContext context)
public Object execute(JSPromiseObject promise, Object reason)