public class UntilNode extends Node
Modifier and Type | Field and Description |
---|---|
boolean |
containsNonlocalFlow |
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 |
---|---|
Object |
accept(NodeVisitor iVisitor)
Accept for the visitor pattern.
|
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, toString
public UntilNode(ISourcePosition position, Node conditionNode, Node bodyNode)
public UntilNode(ISourcePosition position, Node conditionNode, Node bodyNode, boolean evaluateAtStart)
public NodeType getNodeType()
getNodeType
in class Node
public Object accept(NodeVisitor iVisitor)
public Node getBodyNode()
public Node getConditionNode()
public List<Node> childNodes()
childNodes
in class Node
public boolean evaluateAtStart()
public IRubyObject interpret(Ruby runtime, ThreadContext context, IRubyObject self, Block aBlock)
Copyright © 2001-2014 JRuby. All Rights Reserved.