public class RescueNode extends Node
containsVariableAssignment, newline
Constructor and Description |
---|
RescueNode(ISourcePosition position,
Node bodyNode,
RescueBodyNode rescueNode,
Node elseNode) |
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 |
getElseNode()
Gets the elseNode.
|
NodeType |
getNodeType() |
RescueBodyNode |
getRescueNode()
Gets the first rescueNode.
|
containsVariableAssignment, createList, createList, createList, createList, findFirstChild, getFile, getLine, getNodeName, getPosition, isNewline, isNil, needsDefinitionCheck, setNewline, setPosition, toString, toString, toStringInternal
public RescueNode(ISourcePosition position, Node bodyNode, RescueBodyNode rescueNode, Node elseNode)
public NodeType getNodeType()
getNodeType
in class Node
public <T> T accept(NodeVisitor<T> iVisitor)
public Node getBodyNode()
public Node getElseNode()
public RescueBodyNode getRescueNode()
public java.util.List<Node> childNodes()
childNodes
in class Node
Copyright © 2001-2018 JRuby. All Rights Reserved.