public static class BlockScopeNode.VirtualBlockScopeNode extends BlockScopeNode implements ResumableNode
BlockScopeNode.FrameBlockScopeNode, BlockScopeNode.VirtualBlockScopeNodecom.oracle.truffle.api.nodes.Node.Child, com.oracle.truffle.api.nodes.Node.ChildrenResumableNode.WithIntState, ResumableNode.WithObjectState| Modifier and Type | Field and Description |
|---|---|
protected int |
end |
protected int |
start |
blockINTERMEDIATE_VALUE| Modifier | Constructor and Description |
|---|---|
protected |
VirtualBlockScopeNode(JavaScriptNode block,
int start,
int end) |
| Modifier and Type | Method and Description |
|---|---|
com.oracle.truffle.api.frame.VirtualFrame |
appendScopeFrame(com.oracle.truffle.api.frame.VirtualFrame frame) |
protected JavaScriptNode |
copyUninitialized(Set<Class<? extends com.oracle.truffle.api.instrumentation.Tag>> materializedTags) |
void |
exitScope(com.oracle.truffle.api.frame.VirtualFrame frame,
boolean yield) |
Object |
getBlockScope(com.oracle.truffle.api.frame.VirtualFrame frame) |
int |
getFrameEnd() |
int |
getFrameStart() |
boolean |
isFunctionBlock() |
Object |
resume(com.oracle.truffle.api.frame.VirtualFrame frame,
int stateSlot) |
void |
setBlockScope(com.oracle.truffle.api.frame.VirtualFrame frame,
Object state) |
create, createVirtual, execute, executeRepeating, executeVoid, executeWithName, exitScope, getBlock, isResultAlwaysOfTypecreateWrapperaddCallTag, addExpressionTag, addRootBodyTag, addStatementTag, cloneUninitialized, cloneUninitialized, copy, executeBoolean, executeDouble, executeInt, executeLong, expressionToString, findBlockScopeNode, getSourceSection, hasSourceSection, hasTag, isInstrumentable, onReplace, removeSourceSection, setSourceSection, setSourceSection, toString, transferSourceSection, transferSourceSectionAddExpressionTag, transferSourceSectionAndTagsgetLanguage, getRealm, hasOverloadedOperatorsaccept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, replace, replace, reportPolymorphicSpecializeclone, equals, getClass, hashCode, notify, notifyAll, wait, wait, waitasResumableNode, createResumableNode, getStateSlotKind, resetStateprotected VirtualBlockScopeNode(JavaScriptNode block, int start, int end)
public com.oracle.truffle.api.frame.VirtualFrame appendScopeFrame(com.oracle.truffle.api.frame.VirtualFrame frame)
appendScopeFrame in class BlockScopeNodepublic void exitScope(com.oracle.truffle.api.frame.VirtualFrame frame,
boolean yield)
exitScope in class BlockScopeNodepublic Object resume(com.oracle.truffle.api.frame.VirtualFrame frame, int stateSlot)
resume in interface ResumableNodepublic Object getBlockScope(com.oracle.truffle.api.frame.VirtualFrame frame)
getBlockScope in class BlockScopeNodeTryCatchNode.resume(com.oracle.truffle.api.frame.VirtualFrame, int)public void setBlockScope(com.oracle.truffle.api.frame.VirtualFrame frame,
Object state)
setBlockScope in class BlockScopeNodepublic boolean isFunctionBlock()
isFunctionBlock in class BlockScopeNodepublic int getFrameStart()
getFrameStart in class BlockScopeNodepublic int getFrameEnd()
getFrameEnd in class BlockScopeNodeprotected JavaScriptNode copyUninitialized(Set<Class<? extends com.oracle.truffle.api.instrumentation.Tag>> materializedTags)
copyUninitialized in class JavaScriptNode