public class WhenNode extends Node
| Modifier and Type | Field and Description |
|---|---|
protected Node |
bodyNode |
protected Node |
expressionNodes |
containsVariableAssignment| Constructor and Description |
|---|
WhenNode(ISourcePosition position,
Node expressionNodes,
Node bodyNode,
Node nextCase) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
accept(NodeVisitor<T> iVisitor)
Accept for the visitor pattern.
|
List<Node> |
childNodes() |
Node |
getBodyNode()
Gets the bodyNode.
|
Node |
getExpressionNodes()
Get the expressionNode(s).
|
Node |
getNextCase()
Gets the next case node (if any).
|
NodeType |
getNodeType() |
containsVariableAssignment, createList, createList, createList, createList, findFirstChild, getLine, getNodeName, getPosition, isNil, needsDefinitionCheck, setPosition, toString, toStringprotected final Node expressionNodes
protected final Node bodyNode
public WhenNode(ISourcePosition position, Node expressionNodes, Node bodyNode, Node nextCase)
public NodeType getNodeType()
getNodeType in class Nodepublic <T> T accept(NodeVisitor<T> iVisitor)
public Node getBodyNode()
public Node getNextCase()
public Node getExpressionNodes()
public List<Node> childNodes()
childNodes in class NodeCopyright © 2001-2015 JRuby. All Rights Reserved.