public class RefinedCachingCallSite extends CachingCallSite
cache, totalCallSites
callType, methodName
Constructor and Description |
---|
RefinedCachingCallSite(String methodName,
CallType callType) |
Modifier and Type | Method and Description |
---|---|
IRubyObject |
call(ThreadContext context,
IRubyObject caller,
IRubyObject self)
Call the site's method against the target object passing no args.
|
IRubyObject |
call(ThreadContext context,
IRubyObject caller,
IRubyObject self,
Block block)
Call the site's method against the target object passing no arguments and
a non-literal (block pass, &) block.
|
IRubyObject |
call(ThreadContext context,
IRubyObject caller,
IRubyObject self,
IRubyObject... args)
Call the site's method against the target object passing arguments.
|
IRubyObject |
call(ThreadContext context,
IRubyObject caller,
IRubyObject self,
IRubyObject arg0)
Call the site's method against the target object passing one argument.
|
IRubyObject |
call(ThreadContext context,
IRubyObject caller,
IRubyObject self,
IRubyObject[] args,
Block block)
Call the site's method against the target object passing one argument and
a non-literal (block pass, &) block.
|
IRubyObject |
call(ThreadContext context,
IRubyObject caller,
IRubyObject self,
IRubyObject arg0,
Block block)
Call the site's method against the target object passing one argument and
a non-literal (block pass, &) block.
|
IRubyObject |
call(ThreadContext context,
IRubyObject caller,
IRubyObject self,
IRubyObject arg0,
IRubyObject arg1)
Call the site's method against the target object passing two arguments.
|
IRubyObject |
call(ThreadContext context,
IRubyObject caller,
IRubyObject self,
IRubyObject arg0,
IRubyObject arg1,
Block block)
Call the site's method against the target object passing two arguments and
a non-literal (block pass, &) block.
|
IRubyObject |
call(ThreadContext context,
IRubyObject caller,
IRubyObject self,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject arg2)
Call the site's method against the target object passing two arguments.
|
IRubyObject |
call(ThreadContext context,
IRubyObject caller,
IRubyObject self,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject arg2,
Block block)
Call the site's method against the target object passing three arguments and
a non-literal (block pass, &) block.
|
protected boolean |
methodMissing(DynamicMethod method,
IRubyObject caller) |
cacheAndCall, cacheAndCall, cacheAndCall, cacheAndCall, cacheAndCall, cacheAndCall, cacheAndCall, cacheAndCall, cacheAndCall, cacheAndCall, call, call, callIter, callIter, callIter, callIter, callIter, callMethodMissing, callMethodMissing, callMethodMissing, callMethodMissing, callMethodMissing, callMethodMissing, callMethodMissing, callMethodMissing, callMethodMissing, callMethodMissing, callVarargs, callVarargs, callVarargsIter, getCache, getCachedClassIndex, getCachedMethodSerial, getMethodName, isOptimizable, retrieveCache, updateCache
public IRubyObject call(ThreadContext context, IRubyObject caller, IRubyObject self, IRubyObject... args)
CallSite
call
in class CachingCallSite
context
- the ThreadContext for the current threadcaller
- the caller, for visibility checksself
- the target object to call againstargs
- the arguments to passpublic IRubyObject call(ThreadContext context, IRubyObject caller, IRubyObject self, IRubyObject[] args, Block block)
CallSite
call
in class CachingCallSite
context
- the ThreadContext for the current threadcaller
- the caller, for visibility checksself
- the target object to call againstargs
- the arguments to passblock
- the block argument to passpublic IRubyObject call(ThreadContext context, IRubyObject caller, IRubyObject self)
CallSite
call
in class CachingCallSite
context
- the ThreadContext for the current threadcaller
- the caller, for visibility checksself
- the target object to call againstpublic IRubyObject call(ThreadContext context, IRubyObject caller, IRubyObject self, Block block)
CallSite
call
in class CachingCallSite
context
- the ThreadContext for the current threadcaller
- the caller, for visibility checksself
- the target object to call againstblock
- the block argument to passpublic IRubyObject call(ThreadContext context, IRubyObject caller, IRubyObject self, IRubyObject arg0)
CallSite
call
in class CachingCallSite
context
- the ThreadContext for the current threadcaller
- the caller, for visibility checksself
- the target object to call againstarg0
- the argument to passpublic IRubyObject call(ThreadContext context, IRubyObject caller, IRubyObject self, IRubyObject arg0, Block block)
CallSite
call
in class CachingCallSite
context
- the ThreadContext for the current threadcaller
- the caller, for visibility checksself
- the target object to call againstarg0
- the argument to passblock
- the block argument to passpublic IRubyObject call(ThreadContext context, IRubyObject caller, IRubyObject self, IRubyObject arg0, IRubyObject arg1)
CallSite
call
in class CachingCallSite
context
- the ThreadContext for the current threadcaller
- the caller, for visibility checksself
- the target object to call againstarg0
- the first argument to passarg1
- the second argument to passpublic IRubyObject call(ThreadContext context, IRubyObject caller, IRubyObject self, IRubyObject arg0, IRubyObject arg1, Block block)
CallSite
call
in class CachingCallSite
context
- the ThreadContext for the current threadcaller
- the caller, for visibility checksself
- the target object to call againstarg0
- the first argument to passarg1
- the second argument to passblock
- the block argument to passpublic IRubyObject call(ThreadContext context, IRubyObject caller, IRubyObject self, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2)
CallSite
call
in class CachingCallSite
context
- the ThreadContext for the current threadcaller
- the caller, for visibility checksself
- the target object to call againstarg0
- the first argument to passarg1
- the second argument to passarg2
- the third argument to passpublic IRubyObject call(ThreadContext context, IRubyObject caller, IRubyObject self, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2, Block block)
CallSite
call
in class CachingCallSite
context
- the ThreadContext for the current threadcaller
- the caller, for visibility checksself
- the target object to call againstarg0
- the first argument to passarg1
- the second argument to passblock
- the block argument to passprotected boolean methodMissing(DynamicMethod method, IRubyObject caller)
methodMissing
in class CachingCallSite
Copyright © 2001-2015 JRuby. All Rights Reserved.