public abstract class IterableToListNode extends JavaScriptBaseNode
IterableToList(items, [method]) after GetIterator.
Combine with GetIteratorNode to get the full operation.| Modifier | Constructor and Description |
|---|---|
protected |
IterableToListNode() |
| Modifier and Type | Method and Description |
|---|---|
abstract SimpleArrayList<Object> |
execute(IteratorRecord iterator) |
protected SimpleArrayList<Object> |
iterableToList(IteratorRecord iterator,
IteratorStepNode iteratorStepNode,
IteratorValueNode getIteratorValueNode,
com.oracle.truffle.api.profiles.InlinedBranchProfile growProfile) |
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 abstract SimpleArrayList<Object> execute(IteratorRecord iterator)
protected final SimpleArrayList<Object> iterableToList(IteratorRecord iterator, IteratorStepNode iteratorStepNode, IteratorValueNode getIteratorValueNode, com.oracle.truffle.api.profiles.InlinedBranchProfile growProfile)