org.jruby.ast
Class RescueBodyNode
java.lang.Object
org.jruby.ast.AbstractNode
org.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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RescueBodyNode
public RescueBodyNode(ISourcePosition position,
IListNode exceptionNodes,
INode bodyNode)
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.