public abstract class LoopNode extends Node
Node.Child, Node.Children
Modifier and Type | Field and Description |
---|---|
protected Node |
repeatingNode |
Constructor and Description |
---|
LoopNode(RepeatingNode repeatingNode) |
Modifier and Type | Method and Description |
---|---|
abstract void |
executeLoop(VirtualFrame frame) |
protected boolean |
executeRepeatingNode(VirtualFrame frame) |
RepeatingNode |
getRepeatingNode() |
accept, adoptChildren, assignSourceSection, atomic, atomic, clearSourceSection, clone, copy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLanguage, getParent, getRootNode, getSourceSection, insert, insert, isReplaceable, onAdopt, onReplace, replace, replace, toString
protected Node repeatingNode
public LoopNode(RepeatingNode repeatingNode)
public abstract void executeLoop(VirtualFrame frame)
protected final boolean executeRepeatingNode(VirtualFrame frame)
public final RepeatingNode getRepeatingNode()