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, definition, getNodeName, getPosition, setPosition, toStringpublic UntilNode(ISourcePosition position, Node conditionNode, Node bodyNode)
public UntilNode(ISourcePosition position, Node conditionNode, Node bodyNode, boolean evaluateAtStart)
public NodeType getNodeType()
getNodeType in class Nodepublic Object accept(NodeVisitor iVisitor)
public Node getBodyNode()
public Node getConditionNode()
public List<Node> childNodes()
childNodes in class Nodepublic boolean evaluateAtStart()
public IRubyObject interpret(Ruby runtime, ThreadContext context, IRubyObject self, Block aBlock)
Copyright © 2001-2013 JRuby. All Rights Reserved.