org.jruby.ast
Class RescueNode

java.lang.Object
  extended byorg.jruby.ast.AbstractNode
      extended byorg.jruby.ast.RescueNode
All Implemented Interfaces:
INode, java.io.Serializable

public class RescueNode
extends AbstractNode

Version:
$Revision: 1.4 $
Author:
jpetersen
See Also:
Serialized Form

Constructor Summary
RescueNode(ISourcePosition position, INode bodyNode, IListNode rescueNodes, INode elseNode)
           
 
Method Summary
 void accept(INodeVisitor iVisitor)
          Accept for the visitor pattern.
 INode getBodyNode()
          Gets the bodyNode.
 INode getElseNode()
          Gets the elseNode.
 IListNode getRescueNodes()
          Gets the rescueNodes.
 
Methods inherited from class org.jruby.ast.AbstractNode
getPosition
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RescueNode

public RescueNode(ISourcePosition position,
                  INode bodyNode,
                  IListNode rescueNodes,
                  INode elseNode)
Method Detail

accept

public void accept(INodeVisitor iVisitor)
Accept for the visitor pattern.

Parameters:
iVisitor - the visitor

getBodyNode

public INode getBodyNode()
Gets the bodyNode.

Returns:
Returns a INode

getElseNode

public INode getElseNode()
Gets the elseNode.

Returns:
Returns a INode

getRescueNodes

public IListNode getRescueNodes()
Gets the rescueNodes.

Returns:
Returns a IListNode


Copyright © 2002 Jan Arne Petersen. All Rights Reserved.