org.jruby.ast
Class RescueBodyNode

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

public class RescueBodyNode
extends AbstractNode
implements IListNode

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

Constructor Summary
RescueBodyNode(ISourcePosition position, IListNode exceptionNodes, INode bodyNode)
           
 
Method Summary
 void accept(INodeVisitor iVisitor)
          Accept for the visitor pattern.
 IListNode add(INode node)
           
 INode getBodyNode()
          Gets the bodyNode.
 IListNode getExceptionNodes()
          Gets the exceptionNodes.
 java.util.Iterator iterator()
           
 int size()
           
 
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
 
Methods inherited from interface org.ablaf.ast.INode
getPosition
 

Constructor Detail

RescueBodyNode

public RescueBodyNode(ISourcePosition position,
                      IListNode exceptionNodes,
                      INode bodyNode)
Method Detail

add

public IListNode add(INode node)
Specified by:
add in interface IListNode
See Also:
IListNode.add(INode)

iterator

public java.util.Iterator iterator()
Specified by:
iterator in interface IListNode
See Also:
IListNode.iterator()

size

public int size()
Specified by:
size in interface IListNode
See Also:
IListNode.size()

accept

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

Specified by:
accept in interface INode
Parameters:
iVisitor - the visitor

getBodyNode

public INode getBodyNode()
Gets the bodyNode.

Returns:
Returns a INode

getExceptionNodes

public IListNode getExceptionNodes()
Gets the exceptionNodes.

Returns:
Returns a IListNode


Copyright © 2002 Jan Arne Petersen. All Rights Reserved.