|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jruby.ast.Node
org.jruby.ast.RescueBodyNode
public class RescueBodyNode
Represents the contents of a rescue to be evaluated
| Constructor Summary | |
|---|---|
RescueBodyNode(ISourcePosition position,
Node exceptionNodes,
Node bodyNode,
RescueBodyNode optRescueNode)
|
|
| Method Summary | |
|---|---|
java.lang.Object |
accept(NodeVisitor 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). |
IRubyObject |
interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock)
|
| Methods inherited from class org.jruby.ast.Node |
|---|
assign, createList, definition, getNodeName, getPosition, isInvisible, setPosition, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RescueBodyNode(ISourcePosition position,
Node exceptionNodes,
Node bodyNode,
RescueBodyNode optRescueNode)
| Method Detail |
|---|
public NodeType getNodeType()
getNodeType in class Nodepublic java.lang.Object accept(NodeVisitor iVisitor)
accept in class NodeiVisitor - the visitorpublic Node getBodyNode()
public RescueBodyNode getOptRescueNode()
public Node getExceptionNodes()
public java.util.List<Node> childNodes()
childNodes in class Node
public IRubyObject interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock)
interpret in class Node
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||