public class RescueBodyNode extends Node
containsVariableAssignment
Constructor and Description |
---|
RescueBodyNode(ISourcePosition position,
Node exceptionNodes,
Node bodyNode,
RescueBodyNode optRescueNode) |
Modifier and Type | Method and Description |
---|---|
<T> T |
accept(NodeVisitor<T> iVisitor)
Accept for the visitor pattern.
|
List<Node> |
childNodes() |
Node |
getBodyNode()
Gets the bodyNode.
|
Node |
getExceptionNodes()
Gets the exceptionNodes.
|
NodeType |
getNodeType() |
RescueBodyNode |
getOptRescueNode()
Get the next rescue node (if any).
|
containsVariableAssignment, createList, createList, createList, createList, findFirstChild, getLine, getNodeName, getPosition, isNil, needsDefinitionCheck, setPosition, toString, toString
public RescueBodyNode(ISourcePosition position, Node exceptionNodes, Node bodyNode, RescueBodyNode optRescueNode)
public NodeType getNodeType()
getNodeType
in class Node
public <T> T accept(NodeVisitor<T> iVisitor)
public Node getBodyNode()
public RescueBodyNode getOptRescueNode()
public Node getExceptionNodes()
public List<Node> childNodes()
childNodes
in class Node
Copyright © 2001-2015 JRuby. All Rights Reserved.