public class IteratorCompleteUnaryNode extends JavaScriptNode
INTERMEDIATE_VALUE| Modifier | Constructor and Description | 
|---|---|
protected  | 
IteratorCompleteUnaryNode(JSContext context,
                         JavaScriptNode iterResultNode)  | 
| Modifier and Type | Method and Description | 
|---|---|
protected JavaScriptNode | 
copyUninitialized(Set<Class<? extends com.oracle.truffle.api.instrumentation.Tag>> materializedTags)  | 
static JavaScriptNode | 
create(JSContext context,
      JavaScriptNode iterResultNode)  | 
Object | 
execute(com.oracle.truffle.api.frame.VirtualFrame frame)
Executes this node using the specified context and frame and returns the result value. 
 | 
boolean | 
executeBoolean(com.oracle.truffle.api.frame.VirtualFrame frame)
Like  
JavaScriptNode.execute(VirtualFrame) except that it tries to convert the result value to a
 boolean. | 
boolean | 
isResultAlwaysOfType(Class<?> clazz)  | 
addCallTag, addExpressionTag, addRootBodyTag, addStatementTag, cloneUninitialized, cloneUninitialized, copy, createWrapper, executeDouble, executeInt, executeLong, executeSafeInteger, executeString, executeVoid, expressionToString, findBlockScopeNode, getSourceSection, hasSourceSection, hasTag, isInstrumentable, onReplace, removeSourceSection, setSourceSection, setSourceSection, toString, transferSourceSection, transferSourceSectionAddExpressionTag, transferSourceSectionAndTagsgetLanguage, getRealmaccept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, replace, replace, reportPolymorphicSpecializeprotected IteratorCompleteUnaryNode(JSContext context, JavaScriptNode iterResultNode)
public static JavaScriptNode create(JSContext context, JavaScriptNode iterResultNode)
public Object execute(com.oracle.truffle.api.frame.VirtualFrame frame)
JavaScriptNodeexecute in class JavaScriptNodeframe - the frame of the currently executing guest language methodpublic boolean executeBoolean(com.oracle.truffle.api.frame.VirtualFrame frame)
JavaScriptNodeJavaScriptNode.execute(VirtualFrame) except that it tries to convert the result value to a
 boolean. A node can override this method if it has a better way to producing a value of type
 boolean.executeBoolean in class JavaScriptNodeframe - the frame of the currently executing guest language methodpublic final boolean isResultAlwaysOfType(Class<?> clazz)
isResultAlwaysOfType in class JavaScriptNodeprotected JavaScriptNode copyUninitialized(Set<Class<? extends com.oracle.truffle.api.instrumentation.Tag>> materializedTags)
copyUninitialized in class JavaScriptNode