|
|||||||||||
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.CaseNode
A Case statement. Represents a complete case statement, including the body with its when statements.
Constructor Summary | |
CaseNode(ISourcePosition position,
INode caseNode,
IListNode whenNodes,
INode elseNode)
|
Method Summary | |
void |
accept(INodeVisitor iVisitor)
Accept for the visitor pattern. |
INode |
getCaseNode()
Gets the caseNode. |
INode |
getElseNode()
Gets the elseNode. |
IListNode |
getWhenNodes()
Gets the whenNodes. |
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 CaseNode(ISourcePosition position, INode caseNode, IListNode whenNodes, INode elseNode)
Method Detail |
public void accept(INodeVisitor iVisitor)
iVisitor
- the visitorpublic INode getCaseNode()
public IListNode getWhenNodes()
public INode getElseNode()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |