public class WhileNode extends Node
containsVariableAssignment, newline| Constructor and Description | 
|---|
WhileNode(ISourcePosition position,
         Node conditionNode,
         Node bodyNode)  | 
WhileNode(ISourcePosition position,
         Node conditionNode,
         Node bodyNode,
         boolean evalAtStart)  | 
| Modifier and Type | Method and Description | 
|---|---|
<T> T | 
accept(NodeVisitor<T> 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()  | 
containsVariableAssignment, createList, createList, createList, createList, findFirstChild, getLine, getNodeName, getPosition, isNewline, isNil, needsDefinitionCheck, setNewline, setPosition, toString, toStringpublic WhileNode(ISourcePosition position, Node conditionNode, Node bodyNode)
public WhileNode(ISourcePosition position, Node conditionNode, Node bodyNode, boolean evalAtStart)
public NodeType getNodeType()
getNodeType in class Nodepublic <T> T accept(NodeVisitor<T> iVisitor)
public Node getBodyNode()
public Node getConditionNode()
public boolean evaluateAtStart()
public List<Node> childNodes()
childNodes in class NodeCopyright © 2001-2015 JRuby. All Rights Reserved.