public class BreakNode extends Node implements NonLocalControlFlowNode
containsVariableAssignment, newline| Modifier and Type | Method and Description |
|---|---|
<T> T |
accept(NodeVisitor<T> iVisitor)
Accept for the visitor pattern.
|
java.util.List<Node> |
childNodes() |
NodeType |
getNodeType() |
Node |
getValueNode()
Gets the valueNode.
|
boolean |
hasValue() |
containsVariableAssignment, createList, createList, createList, createList, executesOnce, findFirstChild, getFile, getLine, getNodeName, isNewline, isNil, needsDefinitionCheck, setLine, setNewline, toString, toString, toStringExtraInfo, toStringInternal, unsetNewlinepublic BreakNode(int line,
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 java.util.List<Node> childNodes()
childNodes in class NodeCopyright © 2001-2022 JRuby. All Rights Reserved.