public abstract class IteratorToArrayNode extends JavaScriptNode
INTERMEDIATE_VALUE
Modifier | Constructor and Description |
---|---|
protected |
IteratorToArrayNode(JSContext context,
JavaScriptNode iteratorNode,
IteratorGetNextValueNode iteratorStepNode) |
Modifier and Type | Method and Description |
---|---|
protected JavaScriptNode |
copyUninitialized(Set<Class<? extends com.oracle.truffle.api.instrumentation.Tag>> materializedTags) |
static IteratorToArrayNode |
create(JSContext context,
JavaScriptNode iterator) |
protected Object |
doIterator(com.oracle.truffle.api.frame.VirtualFrame frame,
IteratorRecord iteratorRecord,
com.oracle.truffle.api.profiles.BranchProfile growProfile) |
abstract Object |
execute(com.oracle.truffle.api.frame.VirtualFrame frame,
IteratorRecord iteratorRecord) |
addCallTag, addExpressionTag, addRootBodyTag, addStatementTag, cloneUninitialized, cloneUninitialized, copy, createWrapper, execute, executeBoolean, executeDouble, executeInt, executeLong, executeSafeInteger, executeString, executeVoid, expressionToString, findBlockScopeNode, getSourceSection, hasSourceSection, hasTag, isInstrumentable, isResultAlwaysOfType, onReplace, removeSourceSection, setSourceSection, setSourceSection, toString, transferSourceSection, transferSourceSectionAddExpressionTag, transferSourceSectionAndTags
accept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, insert, insert, isAdoptable, isSafelyReplaceableBy, lookupContextReference, lookupLanguageReference, notifyInserted, replace, replace, reportPolymorphicSpecialize
protected IteratorToArrayNode(JSContext context, JavaScriptNode iteratorNode, IteratorGetNextValueNode iteratorStepNode)
public static IteratorToArrayNode create(JSContext context, JavaScriptNode iterator)
protected Object doIterator(com.oracle.truffle.api.frame.VirtualFrame frame, IteratorRecord iteratorRecord, com.oracle.truffle.api.profiles.BranchProfile growProfile)
public abstract Object execute(com.oracle.truffle.api.frame.VirtualFrame frame, IteratorRecord iteratorRecord)
protected JavaScriptNode copyUninitialized(Set<Class<? extends com.oracle.truffle.api.instrumentation.Tag>> materializedTags)
copyUninitialized
in class JavaScriptNode