public class BreakNode extends Node implements NonLocalControlFlowNode
containsVariableAssignment| Constructor and Description |
|---|
BreakNode(ISourcePosition position,
Node valueNode) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
accept(NodeVisitor<T> iVisitor)
Accept for the visitor pattern.
|
List<Node> |
childNodes() |
NodeType |
getNodeType() |
Node |
getValueNode()
Gets the valueNode.
|
boolean |
hasValue() |
containsVariableAssignment, createList, createList, createList, createList, findFirstChild, getLine, getNodeName, getPosition, isNil, needsDefinitionCheck, setPosition, toString, toStringpublic BreakNode(ISourcePosition position, Node valueNode)
public NodeType getNodeType()
getNodeType in class Nodepublic <T> T accept(NodeVisitor<T> iVisitor)
public Node getValueNode()
getValueNode in interface NonLocalControlFlowNodepublic boolean hasValue()
hasValue in interface NonLocalControlFlowNodepublic List<Node> childNodes()
childNodes in class NodeCopyright © 2001-2015 JRuby. All Rights Reserved.