public class PerformPromiseThenNode extends JavaScriptBaseNode
| Modifier | Constructor and Description |
|---|---|
protected |
PerformPromiseThenNode(JSContext context) |
| Modifier and Type | Method and Description |
|---|---|
static PerformPromiseThenNode |
create(JSContext context) |
com.oracle.truffle.api.object.DynamicObject |
execute(com.oracle.truffle.api.object.DynamicObject promise,
Object onFulfilled,
Object onRejected,
PromiseCapabilityRecord resultCapability) |
copy, getLanguage, getRealm, onReplaceaccept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, getSourceSection, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, replace, replace, reportPolymorphicSpecialize, toStringprotected PerformPromiseThenNode(JSContext context)
public static PerformPromiseThenNode create(JSContext context)
public com.oracle.truffle.api.object.DynamicObject execute(com.oracle.truffle.api.object.DynamicObject promise,
Object onFulfilled,
Object onRejected,
PromiseCapabilityRecord resultCapability)