public interface RepeatingNode extends NodeInterface
Node or a subclass of Node.
Repeating nodes are intended to be implemented by guest language implementations. For a full
usage example please see LoopNode.LoopNode,
TruffleRuntime.createLoopNode(RepeatingNode)| Modifier and Type | Method and Description |
|---|---|
boolean |
executeRepeating(VirtualFrame frame)
Repeatedly invoked by a
loop node implementation until the method returns
false or throws an exception. |
boolean executeRepeating(VirtualFrame frame)
loop node implementation until the method returns
false or throws an exception.frame - the current execution frame passed through the interpretertrue if the method should be executed again to complete the loop and
false if it must not.