public class RespondToCallSite extends MonomorphicCallSite
builtinCache, cachecallType, methodName| Constructor and Description |
|---|
RespondToCallSite() |
RespondToCallSite(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
protected IRubyObject |
cacheAndCall(IRubyObject caller,
RubyClass selfType,
ThreadContext context,
IRubyObject self,
IRubyObject arg) |
protected IRubyObject |
cacheAndCall(IRubyObject caller,
RubyClass selfType,
ThreadContext context,
IRubyObject self,
IRubyObject arg0,
IRubyObject arg1) |
IRubyObject |
call(ThreadContext context,
IRubyObject caller,
IRubyObject self,
IRubyObject name)
Call the site's method against the target object passing one argument.
|
IRubyObject |
call(ThreadContext context,
IRubyObject caller,
IRubyObject self,
IRubyObject name,
IRubyObject bool)
Call the site's method against the target object passing two arguments.
|
boolean |
respondsTo(ThreadContext context,
IRubyObject caller,
IRubyObject self) |
boolean |
respondsTo(ThreadContext context,
IRubyObject caller,
IRubyObject self,
boolean includePrivate) |
call, call, call, call, call, call, call, call, call, call, callIter, callIter, callIter, callIter, callIter, callMethodMissing, callMethodMissing, callMethodMissing, callMethodMissing, callMethodMissing, callMethodMissing, callMethodMissing, callMethodMissing, callMethodMissing, callMethodMissing, callVarargs, callVarargs, callVarargsIter, getCache, getCachedClassIndex, getCachedMethodSerial, getClass, getMethodName, isBuiltin, isBuiltin, isOptimizable, methodMissing, retrieveCache, retrieveCache, retrieveCache, setCachepublic RespondToCallSite()
public RespondToCallSite(java.lang.String name)
public IRubyObject call(ThreadContext context, IRubyObject caller, IRubyObject self, IRubyObject name)
CallSitecall in class CachingCallSitecontext - the ThreadContext for the current threadcaller - the caller, for visibility checksself - the target object to call againstname - the argument to passpublic IRubyObject call(ThreadContext context, IRubyObject caller, IRubyObject self, IRubyObject name, IRubyObject bool)
CallSitecall in class CachingCallSitecontext - the ThreadContext for the current threadcaller - the caller, for visibility checksself - the target object to call againstname - the first argument to passbool - the second argument to passpublic boolean respondsTo(ThreadContext context, IRubyObject caller, IRubyObject self)
public boolean respondsTo(ThreadContext context, IRubyObject caller, IRubyObject self, boolean includePrivate)
protected IRubyObject cacheAndCall(IRubyObject caller, RubyClass selfType, ThreadContext context, IRubyObject self, IRubyObject arg)
cacheAndCall in class CachingCallSiteprotected IRubyObject cacheAndCall(IRubyObject caller, RubyClass selfType, ThreadContext context, IRubyObject self, IRubyObject arg0, IRubyObject arg1)
cacheAndCall in class CachingCallSiteCopyright © 2001-2022 JRuby. All Rights Reserved.