public abstract class GetAsyncIteratorNode extends JavaScriptNode
Modifier and Type | Field and Description |
---|---|
protected JavaScriptNode |
objectNode |
INTERMEDIATE_VALUE
Modifier | Constructor and Description |
---|---|
protected |
GetAsyncIteratorNode(JSContext context,
JavaScriptNode objectNode) |
Modifier and Type | Method and Description |
---|---|
protected JavaScriptNode |
copyUninitialized(Set<Class<? extends com.oracle.truffle.api.instrumentation.Tag>> materializedTags) |
static GetAsyncIteratorNode |
create(JSContext context,
JavaScriptNode iteratedObject) |
protected IteratorRecord |
doGetIterator(Object iteratedObject,
GetIteratorNode getIteratorNode,
com.oracle.truffle.api.profiles.InlinedConditionProfile asyncToSync) |
abstract IteratorRecord |
execute(Object iteratedObject) |
abstract IteratorRecord |
execute(com.oracle.truffle.api.frame.VirtualFrame frame)
Executes this node using the specified context and frame and returns the result value.
|
addCallTag, addExpressionTag, addRootBodyTag, addStatementTag, cloneUninitialized, cloneUninitialized, copy, createWrapper, executeBoolean, executeDouble, executeInt, executeLong, executeSafeInteger, executeVoid, expressionToString, findBlockScopeNode, getSourceSection, hasSourceSection, hasTag, isInstrumentable, isResultAlwaysOfType, onReplace, removeSourceSection, setSourceSection, setSourceSection, toString, transferSourceSection, transferSourceSectionAddExpressionTag, transferSourceSectionAndTags
getLanguage, getRealm, hasOverloadedOperators
accept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, replace, replace, reportPolymorphicSpecialize
protected JavaScriptNode objectNode
protected GetAsyncIteratorNode(JSContext context, JavaScriptNode objectNode)
public static GetAsyncIteratorNode create(JSContext context, JavaScriptNode iteratedObject)
protected final IteratorRecord doGetIterator(Object iteratedObject, GetIteratorNode getIteratorNode, com.oracle.truffle.api.profiles.InlinedConditionProfile asyncToSync)
public abstract IteratorRecord execute(com.oracle.truffle.api.frame.VirtualFrame frame)
JavaScriptNode
execute
in class JavaScriptNode
frame
- the frame of the currently executing guest language methodpublic abstract IteratorRecord execute(Object iteratedObject)
protected JavaScriptNode copyUninitialized(Set<Class<? extends com.oracle.truffle.api.instrumentation.Tag>> materializedTags)
copyUninitialized
in class JavaScriptNode