public class BreakNode extends Node implements NonLocalControlFlowNode
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() |
createList, createList, createList, createList, findFirstChild, getNodeName, getPosition, isNil, needsDefinitionCheck, setPosition, toString, toString
public BreakNode(ISourcePosition position, Node valueNode)
public NodeType getNodeType()
getNodeType
in class Node
public <T> T accept(NodeVisitor<T> iVisitor)
public Node getValueNode()
getValueNode
in interface NonLocalControlFlowNode
public boolean hasValue()
hasValue
in interface NonLocalControlFlowNode
public List<Node> childNodes()
childNodes
in class Node
Copyright © 2001-2015 JRuby. All Rights Reserved.