public class WhenNode extends Node
| Modifier and Type | Field and Description |
|---|---|
protected Node |
bodyNode |
protected Node |
expressionNodes |
containsVariableAssignment, newline| Constructor and Description |
|---|
WhenNode(int line,
Node expressionNodes,
Node bodyNode,
Node nextCase) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
accept(NodeVisitor<T> iVisitor)
Accept for the visitor pattern.
|
java.util.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, executesOnce, findFirstChild, getFile, getLine, getNodeName, isNewline, isNil, needsDefinitionCheck, setLine, setNewline, toString, toString, toStringExtraInfo, toStringInternal, unsetNewlineprotected final Node expressionNodes
protected final Node bodyNode
public NodeType getNodeType()
getNodeType in class Nodepublic <T> T accept(NodeVisitor<T> iVisitor)
public Node getBodyNode()
public Node getNextCase()
public Node getExpressionNodes()
public java.util.List<Node> childNodes()
childNodes in class NodeCopyright © 2001-2022 JRuby. All Rights Reserved.