|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jruby.ast.AbstractNode
org.jruby.ast.IfNode
an 'if' statement.
Constructor Summary | |
IfNode(ISourcePosition position,
INode condition,
INode thenBody,
INode elseBody)
|
Method Summary | |
void |
accept(INodeVisitor iVisitor)
Accept for the visitor pattern. |
INode |
getCondition()
Gets the condition. |
INode |
getElseBody()
Gets the elseBody. |
INode |
getThenBody()
Gets the thenBody. |
Methods inherited from class org.jruby.ast.AbstractNode |
getPosition |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public IfNode(ISourcePosition position, INode condition, INode thenBody, INode elseBody)
Method Detail |
public void accept(INodeVisitor iVisitor)
iVisitor
- the visitorpublic INode getCondition()
public INode getElseBody()
public INode getThenBody()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |