org.jruby.runtime
Class Frame

java.lang.Object
  extended byorg.jruby.runtime.Frame

public class Frame
extends java.lang.Object

Version:
$Revision: 1.7 $
Author:
jpetersen

Constructor Summary
Frame(Frame frame)
           
Frame(IRubyObject self, IRubyObject[] args, java.lang.String lastFunc, RubyModule lastClass, ISourcePosition position, Iter iter)
           
 
Method Summary
 Frame duplicate()
           
 IRubyObject[] getArgs()
          Getter for property args.
 java.lang.String getFile()
           
 Iter getIter()
          Getter for property iter.
 RubyModule getLastClass()
          Getter for property lastClass.
 java.lang.String getLastFunc()
          Getter for property lastFunc.
 int getLine()
          Getter for property line.
 ISourcePosition getPosition()
           
 IRubyObject getSelf()
          Getter for property self.
 boolean isBlockGiven()
           
 void setArgs(IRubyObject[] args)
          Setter for property args.
 void setIter(Iter iter)
          Setter for property iter.
 void setLastClass(RubyModule lastClass)
          Setter for property lastClass.
 void setLastFunc(java.lang.String lastFunc)
          Setter for property lastFunc.
 void setSelf(IRubyObject self)
          Setter for property self.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Frame

public Frame(IRubyObject self,
             IRubyObject[] args,
             java.lang.String lastFunc,
             RubyModule lastClass,
             ISourcePosition position,
             Iter iter)

Frame

public Frame(Frame frame)
Method Detail

getArgs

public IRubyObject[] getArgs()
Getter for property args.

Returns:
Value of property args.

setArgs

public void setArgs(IRubyObject[] args)
Setter for property args.

Parameters:
args - New value of property args.

getPosition

public ISourcePosition getPosition()

getFile

public java.lang.String getFile()

getIter

public Iter getIter()
Getter for property iter.

Returns:
Value of property iter.

setIter

public void setIter(Iter iter)
Setter for property iter.

Parameters:
iter - New value of property iter.

isBlockGiven

public boolean isBlockGiven()

getLastClass

public RubyModule getLastClass()
Getter for property lastClass.

Returns:
Value of property lastClass.

setLastClass

public void setLastClass(RubyModule lastClass)
Setter for property lastClass.

Parameters:
lastClass - New value of property lastClass.

getLastFunc

public java.lang.String getLastFunc()
Getter for property lastFunc.

Returns:
Value of property lastFunc.

setLastFunc

public void setLastFunc(java.lang.String lastFunc)
Setter for property lastFunc.

Parameters:
lastFunc - New value of property lastFunc.

getLine

public int getLine()
Getter for property line.

Returns:
Value of property line.

getSelf

public IRubyObject getSelf()
Getter for property self.

Returns:
Value of property self.

setSelf

public void setSelf(IRubyObject self)
Setter for property self.

Parameters:
self - New value of property self.

duplicate

public Frame duplicate()


Copyright © 2002 Jan Arne Petersen. All Rights Reserved.