public class BreakNode extends Node implements NonLocalControlFlowNode
Constructor and Description |
---|
BreakNode(ISourcePosition position,
Node valueNode) |
Modifier and Type | Method and Description |
---|---|
Object |
accept(NodeVisitor iVisitor)
Accept for the visitor pattern.
|
List<Node> |
childNodes() |
NodeType |
getNodeType() |
Node |
getValueNode()
Gets the valueNode.
|
boolean |
hasValue() |
IRubyObject |
interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
assign, createList, createList, createList, createList, definition, getNodeName, getPosition, isNil, setPosition, toString
public BreakNode(ISourcePosition position, Node valueNode)
public NodeType getNodeType()
getNodeType
in class Node
public Object accept(NodeVisitor iVisitor)
public Node getValueNode()
getValueNode
in interface NonLocalControlFlowNode
public boolean hasValue()
hasValue
in interface NonLocalControlFlowNode
public List<Node> childNodes()
childNodes
in class Node
public IRubyObject interpret(Ruby runtime, ThreadContext context, IRubyObject self, Block aBlock)
Copyright © 2001-2015 JRuby. All Rights Reserved.