org.jruby.runtime
Class CallSite

java.lang.Object
  extended by org.jruby.runtime.CallSite
Direct Known Subclasses:
CallSite.InlineCachingCallSite

public abstract class CallSite
extends java.lang.Object


Nested Class Summary
static class CallSite.DivCallSite
           
static class CallSite.GeCallSite
           
static class CallSite.GtCallSite
           
static class CallSite.InlineCachingCallSite
           
static class CallSite.LeCallSite
           
static class CallSite.LtCallSite
           
static class CallSite.MinusCallSite
           
static class CallSite.MulCallSite
           
static class CallSite.PlusCallSite
           
 
Field Summary
protected  CallType callType
           
 int methodID
           
 java.lang.String methodName
           
 
Constructor Summary
CallSite(int methodID, java.lang.String methodName, CallType callType)
           
 
Method Summary
abstract  IRubyObject call(ThreadContext context, IRubyObject self)
           
abstract  IRubyObject call(ThreadContext context, IRubyObject self, Block block)
           
abstract  IRubyObject call(ThreadContext context, IRubyObject self, IRubyObject arg1)
           
abstract  IRubyObject call(ThreadContext context, IRubyObject self, IRubyObject[] args)
           
abstract  IRubyObject call(ThreadContext context, IRubyObject self, IRubyObject[] args, Block block)
           
abstract  IRubyObject call(ThreadContext context, IRubyObject self, IRubyObject arg1, Block block)
           
abstract  IRubyObject call(ThreadContext context, IRubyObject self, IRubyObject arg1, IRubyObject arg2)
           
abstract  IRubyObject call(ThreadContext context, IRubyObject self, IRubyObject arg1, IRubyObject arg2, Block block)
           
abstract  IRubyObject call(ThreadContext context, IRubyObject self, IRubyObject arg1, IRubyObject arg2, IRubyObject arg3)
           
abstract  IRubyObject call(ThreadContext context, IRubyObject self, IRubyObject arg1, IRubyObject arg2, IRubyObject arg3, Block block)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

methodID

public final int methodID

methodName

public final java.lang.String methodName

callType

protected final CallType callType
Constructor Detail

CallSite

public CallSite(int methodID,
                java.lang.String methodName,
                CallType callType)
Method Detail

call

public abstract IRubyObject call(ThreadContext context,
                                 IRubyObject self)

call

public abstract IRubyObject call(ThreadContext context,
                                 IRubyObject self,
                                 IRubyObject arg1)

call

public abstract IRubyObject call(ThreadContext context,
                                 IRubyObject self,
                                 IRubyObject arg1,
                                 IRubyObject arg2)

call

public abstract IRubyObject call(ThreadContext context,
                                 IRubyObject self,
                                 IRubyObject arg1,
                                 IRubyObject arg2,
                                 IRubyObject arg3)

call

public abstract IRubyObject call(ThreadContext context,
                                 IRubyObject self,
                                 IRubyObject[] args)

call

public abstract IRubyObject call(ThreadContext context,
                                 IRubyObject self,
                                 Block block)

call

public abstract IRubyObject call(ThreadContext context,
                                 IRubyObject self,
                                 IRubyObject arg1,
                                 Block block)

call

public abstract IRubyObject call(ThreadContext context,
                                 IRubyObject self,
                                 IRubyObject arg1,
                                 IRubyObject arg2,
                                 Block block)

call

public abstract IRubyObject call(ThreadContext context,
                                 IRubyObject self,
                                 IRubyObject arg1,
                                 IRubyObject arg2,
                                 IRubyObject arg3,
                                 Block block)

call

public abstract IRubyObject call(ThreadContext context,
                                 IRubyObject self,
                                 IRubyObject[] args,
                                 Block block)


Copyright © 2002-2007 JRuby Team. All Rights Reserved.