public 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 com.oracle.truffle.api.object.DynamicObject |
createResolveElementFunction(int index,
SimpleArrayList<Object> values,
PromiseCapabilityRecord resultCapability,
PerformPromiseCombinatorNode.BoxedInt remainingElementsCount) |
com.oracle.truffle.api.object.DynamicObject |
execute(IteratorRecord iteratorRecord,
com.oracle.truffle.api.object.DynamicObject constructor,
PromiseCapabilityRecord resultCapability,
Object promiseResolve) |
iteratorStepOrSetDone, iteratorValueOrSetDonecopy, onReplaceaccept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, getSourceSection, insert, insert, isAdoptable, isSafelyReplaceableBy, lookupContextReference, lookupLanguageReference, 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)
public com.oracle.truffle.api.object.DynamicObject execute(IteratorRecord iteratorRecord, com.oracle.truffle.api.object.DynamicObject constructor, PromiseCapabilityRecord resultCapability, Object promiseResolve)
execute in class PerformPromiseCombinatorNodeprotected com.oracle.truffle.api.object.DynamicObject createResolveElementFunction(int index,
SimpleArrayList<Object> values,
PromiseCapabilityRecord resultCapability,
PerformPromiseCombinatorNode.BoxedInt remainingElementsCount)
protected Object createRejectElementFunction(int index, SimpleArrayList<Object> values, PromiseCapabilityRecord resultCapability, PerformPromiseCombinatorNode.BoxedInt remainingElementsCount)