public abstract class GetIteratorFlattenableNode extends JavaScriptBaseNode
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
async |
protected JSContext |
context |
| Modifier | Constructor and Description |
|---|---|
protected |
GetIteratorFlattenableNode(boolean async,
JSContext context) |
| Modifier and Type | Method and Description |
|---|---|
static GetIteratorFlattenableNode |
create(boolean async,
JSContext context) |
abstract IteratorRecord |
execute(Object iteratedObject) |
protected IteratorRecord |
getIteratorFlattenable(Object iteratedObject,
IsObjectNode isObjectNode,
IsObjectNode isIteratorObjectNode,
IsCallableNode isCallableNode,
GetMethodNode getAsyncIteratorMethodNode,
GetMethodNode getIteratorMethodNode,
JSFunctionCallNode iteratorCallNode,
PropertyGetNode getNextMethodNode,
com.oracle.truffle.api.profiles.InlinedBranchProfile errorBranch) |
protected IteratorRecord |
unsupported(Object obj,
IsObjectNode isObjectNode) |
copy, getJSContext, getLanguage, getLanguageOptions, getRealm, hasOverloadedOperators, onReplace, reportLoopCount, reportLoopCountaccept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, getSourceSection, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, replace, replace, reportPolymorphicSpecialize, toStringprotected final boolean async
protected final JSContext context
protected GetIteratorFlattenableNode(boolean async,
JSContext context)
public abstract IteratorRecord execute(Object iteratedObject)
public static GetIteratorFlattenableNode create(boolean async, JSContext context)
protected final IteratorRecord getIteratorFlattenable(Object iteratedObject, IsObjectNode isObjectNode, IsObjectNode isIteratorObjectNode, IsCallableNode isCallableNode, GetMethodNode getAsyncIteratorMethodNode, GetMethodNode getIteratorMethodNode, JSFunctionCallNode iteratorCallNode, PropertyGetNode getNextMethodNode, com.oracle.truffle.api.profiles.InlinedBranchProfile errorBranch)
protected final IteratorRecord unsupported(Object obj, IsObjectNode isObjectNode)