public class NewPromiseCapabilityNode extends JavaScriptBaseNode
| Modifier and Type | Field and Description |
|---|---|
static com.oracle.truffle.api.object.HiddenKey |
PROMISE_CAPABILITY_KEY |
| Modifier | Constructor and Description |
|---|---|
protected |
NewPromiseCapabilityNode(JSContext context) |
| Modifier and Type | Method and Description |
|---|---|
static NewPromiseCapabilityNode |
create(JSContext context) |
static PromiseCapabilityRecord |
createDefault(JSRealm realm) |
PromiseCapabilityRecord |
execute(Object constructor) |
PromiseCapabilityRecord |
executeDefault() |
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, toStringpublic static final com.oracle.truffle.api.object.HiddenKey PROMISE_CAPABILITY_KEY
protected NewPromiseCapabilityNode(JSContext context)
public static NewPromiseCapabilityNode create(JSContext context)
public PromiseCapabilityRecord executeDefault()
public static PromiseCapabilityRecord createDefault(JSRealm realm)
public PromiseCapabilityRecord execute(Object constructor)