public class UntilNode extends Node
| Modifier and Type | Field and Description |
|---|---|
private Node |
bodyNode |
private Node |
conditionNode |
boolean |
containsNonlocalFlow |
private boolean |
evaluateAtStart |
EMPTY_LIST| Constructor and Description |
|---|
UntilNode(ISourcePosition position,
Node conditionNode,
Node bodyNode) |
UntilNode(ISourcePosition position,
Node conditionNode,
Node bodyNode,
boolean evaluateAtStart) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
accept(NodeVisitor iVisitor)
Accept for the visitor pattern.
|
java.util.List<Node> |
childNodes() |
boolean |
evaluateAtStart()
Determine whether this is while or do while
|
Node |
getBodyNode()
Gets the bodyNode.
|
Node |
getConditionNode()
Gets the conditionNode.
|
NodeType |
getNodeType() |
IRubyObject |
interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
assign, createList, createList, createList, createList, definition, getNodeName, getPosition, isNil, setPosition, toStringprivate final Node conditionNode
private final Node bodyNode
private final boolean evaluateAtStart
public boolean containsNonlocalFlow
public UntilNode(ISourcePosition position, Node conditionNode, Node bodyNode)
public UntilNode(ISourcePosition position, Node conditionNode, Node bodyNode, boolean evaluateAtStart)
public NodeType getNodeType()
getNodeType in class Nodepublic java.lang.Object accept(NodeVisitor iVisitor)
public Node getBodyNode()
public Node getConditionNode()
public java.util.List<Node> childNodes()
childNodes in class Nodepublic boolean evaluateAtStart()
public IRubyObject interpret(Ruby runtime, ThreadContext context, IRubyObject self, Block aBlock)