Interface ResumableNode
- All Known Subinterfaces:
ResumableNode.WithIntState,ResumableNode.WithObjectState,SuspendNode
- All Known Implementing Classes:
AbstractAwaitNode,AsyncGeneratorYieldNode,AsyncIteratorCloseWrapperNode,AsyncIteratorNextNode,AwaitNode,BlockScopeNode.FrameBlockScopeNode,BlockScopeNode.VirtualBlockScopeNode,ClassDefinitionNode,DualNode,ForNode,IfNode,JSAndNode,JSLogicalNode,JSNullishCoalescingNode,JSOrNode,ModuleYieldNode,SwitchNode,TryCatchNode,TryFinallyNode,YieldNode,YieldStarNode
public interface ResumableNode
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfacestatic interface -
Method Summary
Modifier and TypeMethodDescriptiondefault JavaScriptNodeasResumableNode(int stateSlot) static JavaScriptNodecreateResumableNode(ResumableNode node, int stateSlot) default com.oracle.truffle.api.frame.FrameSlotKinddefault voidresetState(com.oracle.truffle.api.frame.VirtualFrame frame, int stateSlot) default Objectresume(com.oracle.truffle.api.frame.VirtualFrame frame, int stateSlot)
-
Method Details
-
resume
-
asResumableNode
-
createResumableNode
-
resetState
default void resetState(com.oracle.truffle.api.frame.VirtualFrame frame, int stateSlot) -
getStateSlotKind
default com.oracle.truffle.api.frame.FrameSlotKind getStateSlotKind()
-