public class CaseNode extends Node
Constructor and Description |
---|
CaseNode(ISourcePosition position,
Node caseNode,
ListNode cases) |
Modifier and Type | Method and Description |
---|---|
Object |
accept(NodeVisitor iVisitor)
Accept for the visitor pattern.
|
List<Node> |
childNodes() |
Node |
getCaseNode()
Gets the caseNode.
|
ListNode |
getCases() |
Node |
getElseNode() |
Node |
getFirstWhenNode()
Deprecated.
|
NodeType |
getNodeType() |
IRubyObject |
interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
void |
setElseNode(Node elseNode) |
assign, createList, createList, createList, createList, definition, getNodeName, getPosition, isNil, setPosition, toString
public CaseNode(ISourcePosition position, Node caseNode, ListNode cases)
public void setElseNode(Node elseNode)
public NodeType getNodeType()
getNodeType
in class Node
public Object accept(NodeVisitor iVisitor)
public Node getCaseNode()
public ListNode getCases()
public Node getElseNode()
@Deprecated public Node getFirstWhenNode()
public List<Node> childNodes()
childNodes
in class Node
public IRubyObject interpret(Ruby runtime, ThreadContext context, IRubyObject self, Block aBlock)
Copyright © 2001-2014 JRuby. All Rights Reserved.