public abstract class PerformPromiseAnyNode extends PerformPromiseCombinatorNode
| Modifier and Type | Class and Description |
|---|---|
protected static class |
PerformPromiseAnyNode.RejectElementArgs |
PerformPromiseCombinatorNode.BoxedInt| Modifier and Type | Field and Description |
|---|---|
protected JSFunctionCallNode |
callResolve |
protected JSFunctionCallNode |
callThen |
protected PropertyGetNode |
getThen |
protected static com.oracle.truffle.api.object.HiddenKey |
REJECT_ELEMENT_ARGS_KEY |
protected PropertySetNode |
setArgs |
context| Modifier | Constructor and Description |
|---|---|
protected |
PerformPromiseAnyNode(JSContext context) |
| Modifier and Type | Method and Description |
|---|---|
static PerformPromiseAnyNode |
create(JSContext context) |
protected JSFunctionObject |
createRejectElementFunction(int index,
SimpleArrayList<Object> errors,
PromiseCapabilityRecord resultCapability,
PerformPromiseCombinatorNode.BoxedInt remainingElementsCount) |
protected Object |
createResolveElementFunction(int index,
SimpleArrayList<Object> errors,
PromiseCapabilityRecord resultCapability,
PerformPromiseCombinatorNode.BoxedInt remainingElementsCount) |
protected JSDynamicObject |
promiseAny(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 static final com.oracle.truffle.api.object.HiddenKey REJECT_ELEMENT_ARGS_KEY
protected JSFunctionCallNode callResolve
protected PropertyGetNode getThen
protected JSFunctionCallNode callThen
protected PropertySetNode setArgs
protected PerformPromiseAnyNode(JSContext context)
public static PerformPromiseAnyNode create(JSContext context)
protected JSDynamicObject promiseAny(IteratorRecord iteratorRecord, JSDynamicObject constructor, PromiseCapabilityRecord resultCapability, Object promiseResolve, com.oracle.truffle.api.profiles.InlinedBranchProfile growProfile)
protected JSFunctionObject createRejectElementFunction(int index, SimpleArrayList<Object> errors, PromiseCapabilityRecord resultCapability, PerformPromiseCombinatorNode.BoxedInt remainingElementsCount)
protected Object createResolveElementFunction(int index, SimpleArrayList<Object> errors, PromiseCapabilityRecord resultCapability, PerformPromiseCombinatorNode.BoxedInt remainingElementsCount)