Class IterableToListNode
java.lang.Object
com.oracle.truffle.api.nodes.Node
com.oracle.truffle.js.nodes.JavaScriptBaseNode
com.oracle.truffle.js.nodes.access.IterableToListNode
- All Implemented Interfaces:
com.oracle.truffle.api.nodes.NodeInterface,Cloneable
Implements the part of
IterableToList(items, [method]) after GetIterator.
Combine with GetIteratorNode to get the full operation.-
Nested Class Summary
Nested classes/interfaces inherited from class com.oracle.truffle.api.nodes.Node
com.oracle.truffle.api.nodes.Node.Child, com.oracle.truffle.api.nodes.Node.Children -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract SimpleArrayList<Object> execute(IteratorRecord iterator) protected final SimpleArrayList<Object> iterableToList(IteratorRecord iterator, IteratorStepNode iteratorStepNode, IteratorValueNode getIteratorValueNode, com.oracle.truffle.api.profiles.InlinedBranchProfile growProfile) Methods inherited from class com.oracle.truffle.js.nodes.JavaScriptBaseNode
copy, getJSContext, getLanguage, getLanguageOptions, getRealm, hasOverloadedOperators, onReplace, reportLoopCount, reportLoopCountMethods inherited from class com.oracle.truffle.api.nodes.Node
accept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, getSourceSection, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, replace, replace, reportPolymorphicSpecialize, reportReplace, toString
-
Constructor Details
-
IterableToListNode
protected IterableToListNode()
-
-
Method Details
-
execute
-
iterableToList
protected final SimpleArrayList<Object> iterableToList(IteratorRecord iterator, IteratorStepNode iteratorStepNode, IteratorValueNode getIteratorValueNode, com.oracle.truffle.api.profiles.InlinedBranchProfile growProfile)
-