public abstract class IterationScopeNode extends JavaScriptNode
Modifier and Type | Class and Description |
---|---|
static class |
IterationScopeNode.FrameIterationScopeNode |
INTERMEDIATE_VALUE
Constructor and Description |
---|
IterationScopeNode() |
Modifier and Type | Method and Description |
---|---|
static IterationScopeNode |
create(com.oracle.truffle.api.frame.FrameDescriptor frameDescriptor,
JSReadFrameSlotNode[] reads,
JSWriteFrameSlotNode[] writes,
int blockScopeSlot) |
abstract com.oracle.truffle.api.frame.VirtualFrame |
execute(com.oracle.truffle.api.frame.VirtualFrame frame)
Executes this node using the specified context and frame and returns the result value.
|
abstract void |
executeCopy(com.oracle.truffle.api.frame.VirtualFrame toFrame,
com.oracle.truffle.api.frame.VirtualFrame fromFrame) |
abstract void |
exitScope(com.oracle.truffle.api.frame.VirtualFrame frame,
com.oracle.truffle.api.frame.VirtualFrame prevFrame) |
addCallTag, addExpressionTag, addRootBodyTag, addStatementTag, cloneUninitialized, cloneUninitialized, copy, copyUninitialized, 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
public static IterationScopeNode create(com.oracle.truffle.api.frame.FrameDescriptor frameDescriptor, JSReadFrameSlotNode[] reads, JSWriteFrameSlotNode[] writes, int blockScopeSlot)
public abstract com.oracle.truffle.api.frame.VirtualFrame execute(com.oracle.truffle.api.frame.VirtualFrame frame)
JavaScriptNode
execute
in class JavaScriptNode
frame
- the frame of the currently executing guest language methodpublic abstract void executeCopy(com.oracle.truffle.api.frame.VirtualFrame toFrame, com.oracle.truffle.api.frame.VirtualFrame fromFrame)
public abstract void exitScope(com.oracle.truffle.api.frame.VirtualFrame frame, com.oracle.truffle.api.frame.VirtualFrame prevFrame)