|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jrubyparser.ast.Node
org.jrubyparser.ast.UntilNode
public class UntilNode
Represents an until statement.
| Field Summary | |
|---|---|
boolean |
containsNonlocalFlow
|
| Constructor Summary | |
|---|---|
UntilNode(SourcePosition position,
Node conditionNode,
Node bodyNode)
|
|
UntilNode(SourcePosition position,
Node conditionNode,
Node bodyNode,
boolean evaluateAtStart)
|
|
| Method Summary | |
|---|---|
Object |
accept(NodeVisitor iVisitor)
Accept for the visitor pattern. |
boolean |
evaluateAtStart()
Determine whether this is while or do while |
Node |
getBody()
Gets the bodyNode. |
Node |
getBodyNode()
Deprecated. |
Node |
getCondition()
Gets the conditionNode. |
Node |
getConditionNode()
Deprecated. |
NodeType |
getNodeType()
|
boolean |
isSame(Node node)
Checks node for 'sameness' for diffing. |
void |
setBody(Node body)
|
void |
setConditionNode(Node condition)
|
| Methods inherited from class org.jrubyparser.ast.Node |
|---|
adopt, adopt, adoptUsingNodesPosition, childNodes, comparePositionWith, createList, getClosestIScope, getClosestModule, getGrandParent, getInlineComment, getInnermostIter, getMethodFor, getNodeAt, getNodeName, getOutermostIter, getParent, getPosition, getPositionIncludingComments, getPreviousComments, insertAfter, insertAll, insertBefore, insertNode, isBlockParameter, isDescendentOf, isLeaf, isMethodParameter, setParent, setPosition, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public boolean containsNonlocalFlow
| Constructor Detail |
|---|
public UntilNode(SourcePosition position,
Node conditionNode,
Node bodyNode)
public UntilNode(SourcePosition position,
Node conditionNode,
Node bodyNode,
boolean evaluateAtStart)
| Method Detail |
|---|
public NodeType getNodeType()
getNodeType in class Nodepublic Object accept(NodeVisitor iVisitor)
accept in class NodeiVisitor - the visitorpublic boolean isSame(Node node)
Node
isSame in class Nodenode - The node to be compared to.
public Node getBody()
@Deprecated public Node getBodyNode()
public void setBody(Node body)
public Node getCondition()
@Deprecated public Node getConditionNode()
public void setConditionNode(Node condition)
public boolean evaluateAtStart()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||