org.jruby.runtime
Class CallSite

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

public abstract class CallSite
extends java.lang.Object


Field Summary
protected  CallType callType
           
 java.lang.String methodName
           
 
Constructor Summary
CallSite(java.lang.String methodName, CallType callType)
           
 
Method Summary
abstract  IRubyObject call(ThreadContext context, IRubyObject caller, IRubyObject self)
           
abstract  IRubyObject call(ThreadContext context, IRubyObject caller, IRubyObject self, Block block)
           
abstract  IRubyObject call(ThreadContext context, IRubyObject caller, IRubyObject self, IRubyObject... args)
           
abstract  IRubyObject call(ThreadContext context, IRubyObject caller, IRubyObject self, IRubyObject arg1)
           
abstract  IRubyObject call(ThreadContext context, IRubyObject caller, IRubyObject self, IRubyObject[] args, Block block)
           
abstract  IRubyObject call(ThreadContext context, IRubyObject caller, IRubyObject self, IRubyObject arg1, Block block)
           
abstract  IRubyObject call(ThreadContext context, IRubyObject caller, IRubyObject self, IRubyObject arg1, IRubyObject arg2)
           
abstract  IRubyObject call(ThreadContext context, IRubyObject caller, IRubyObject self, IRubyObject arg1, IRubyObject arg2, Block block)
           
abstract  IRubyObject call(ThreadContext context, IRubyObject caller, IRubyObject self, IRubyObject arg1, IRubyObject arg2, IRubyObject arg3)
           
abstract  IRubyObject call(ThreadContext context, IRubyObject caller, IRubyObject self, IRubyObject arg1, IRubyObject arg2, IRubyObject arg3, Block block)
           
abstract  IRubyObject callIter(ThreadContext context, IRubyObject caller, IRubyObject self, Block block)
           
abstract  IRubyObject callIter(ThreadContext context, IRubyObject caller, IRubyObject self, IRubyObject[] args, Block block)
           
abstract  IRubyObject callIter(ThreadContext context, IRubyObject caller, IRubyObject self, IRubyObject arg1, Block block)
           
abstract  IRubyObject callIter(ThreadContext context, IRubyObject caller, IRubyObject self, IRubyObject arg1, IRubyObject arg2, Block block)
           
abstract  IRubyObject callIter(ThreadContext context, IRubyObject caller, 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

methodName

public final java.lang.String methodName

callType

protected final CallType callType
Constructor Detail

CallSite

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

call

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

call

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

call

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

call

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

call

public abstract IRubyObject call(ThreadContext context,
                                 IRubyObject caller,
                                 IRubyObject self,
                                 IRubyObject... args)

call

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

call

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

call

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

call

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

call

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

callIter

public abstract IRubyObject callIter(ThreadContext context,
                                     IRubyObject caller,
                                     IRubyObject self,
                                     Block block)

callIter

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

callIter

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

callIter

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

callIter

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


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