public abstract class PerformPromiseAllNode extends PerformPromiseCombinatorNode
| Modifier and Type | Class and Description |
|---|---|
static class |
PerformPromiseAllNode.PromiseAllMarkerRootNode |
static class |
PerformPromiseAllNode.ResolveElementArgs |
PerformPromiseCombinatorNode.BoxedInt| Modifier and Type | Field and Description |
|---|---|
protected JSFunctionCallNode |
callResolve |
protected JSFunctionCallNode |
callThen |
protected PropertyGetNode |
getThen |
protected PropertySetNode |
setArgs |
context| Modifier | Constructor and Description |
|---|---|
protected |
PerformPromiseAllNode(JSContext context) |
| Modifier and Type | Method and Description |
|---|---|
static PerformPromiseAllNode |
create(JSContext context) |
protected Object |
createRejectElementFunction(int index,
SimpleArrayList<Object> values,
PromiseCapabilityRecord resultCapability,
PerformPromiseCombinatorNode.BoxedInt remainingElementsCount) |
protected JSFunctionObject |
createResolveElementFunction(int index,
SimpleArrayList<Object> values,
PromiseCapabilityRecord resultCapability,
PerformPromiseCombinatorNode.BoxedInt remainingElementsCount) |
protected JSDynamicObject |
promiseAll(IteratorRecord iteratorRecord,
JSDynamicObject constructor,
PromiseCapabilityRecord resultCapability,
Object promiseResolve,
com.oracle.truffle.api.profiles.InlinedBranchProfile growProfile) |
execute, iteratorStepOrSetDone, iteratorValueOrSetDonecopy, 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 JSFunctionCallNode callResolve
protected PropertyGetNode getThen
protected JSFunctionCallNode callThen
protected PropertySetNode setArgs
protected PerformPromiseAllNode(JSContext context)
public static PerformPromiseAllNode create(JSContext context)
protected JSDynamicObject promiseAll(IteratorRecord iteratorRecord, JSDynamicObject constructor, PromiseCapabilityRecord resultCapability, Object promiseResolve, com.oracle.truffle.api.profiles.InlinedBranchProfile growProfile)
protected JSFunctionObject createResolveElementFunction(int index, SimpleArrayList<Object> values, PromiseCapabilityRecord resultCapability, PerformPromiseCombinatorNode.BoxedInt remainingElementsCount)
protected Object createRejectElementFunction(int index, SimpleArrayList<Object> values, PromiseCapabilityRecord resultCapability, PerformPromiseCombinatorNode.BoxedInt remainingElementsCount)