public class RescueBodyNode extends Node
containsVariableAssignment, newline
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.
|
java.util.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, executesOnce, findFirstChild, getFile, getLine, getNodeName, getPosition, isNewline, isNil, needsDefinitionCheck, setNewline, setPosition, toString, toString, toStringInternal
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 java.util.List<Node> childNodes()
childNodes
in class Node
Copyright © 2001-2020 JRuby. All Rights Reserved.