Class IteratorStepNode
java.lang.Object
com.oracle.truffle.api.nodes.Node
com.oracle.truffle.js.nodes.JavaScriptBaseNode
com.oracle.truffle.js.nodes.access.IteratorStepNode
- All Implemented Interfaces:
com.oracle.truffle.api.nodes.NodeInterface, Cloneable
IteratorStep(iterator). Returns the next iterator result or false if done.
-
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 TypeMethodDescriptionstatic IteratorStepNodecreate()abstract Objectexecute(IteratorRecord iteratorRecord) static IteratorStepNodeprotected static Objectstep(IteratorRecord iteratorRecord, IteratorNextNode iteratorNextNode, IteratorCompleteNode iteratorCompleteNode) Methods inherited from class 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
-
IteratorStepNode
protected IteratorStepNode()
-
-
Method Details
-
execute
-
step
protected static Object step(IteratorRecord iteratorRecord, IteratorNextNode iteratorNextNode, IteratorCompleteNode iteratorCompleteNode) -
create
-
getUncached
-