Package org.jruby.runtime.callsite
Class AsetCallSite
java.lang.Object
org.jruby.runtime.CallSite
org.jruby.runtime.callsite.CachingCallSite
org.jruby.runtime.callsite.MonomorphicCallSite
org.jruby.runtime.callsite.AsetCallSite
-
Field Summary
Fields inherited from class org.jruby.runtime.callsite.CachingCallSite
builtinCache, cache
Fields inherited from class org.jruby.runtime.CallSite
callType, methodName
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncall
(ThreadContext context, IRubyObject caller, IRubyObject self, IRubyObject arg0, IRubyObject arg1) Call the site's method against the target object passing two arguments.Methods inherited from class org.jruby.runtime.callsite.CachingCallSite
cacheAndCall, cacheAndCall, cacheAndCall, cacheAndCall, cacheAndCall, cacheAndCall, cacheAndCall, cacheAndCall, cacheAndCall, cacheAndCall, call, call, call, call, call, call, call, call, call, call, call, callIter, callIter, callIter, callIter, callIter, callVarargs, callVarargs, callVarargsIter, fcall, fcall, fcall, fcall, fcall, fcall, fcall, fcall, fcall, fcall, fcallIter, fcallIter, fcallIter, fcallIter, fcallIter, fcallVarargs, fcallVarargs, fcallVarargsIter, getCache, getCachedClassIndex, getCachedMethodSerial, getClass, getMethodName, isBuiltin, isBuiltin, isOptimizable, methodMissing, retrieveCache, retrieveCache, retrieveCache, setCache
-
Constructor Details
-
AsetCallSite
public AsetCallSite()
-
-
Method Details
-
call
public IRubyObject call(ThreadContext context, IRubyObject caller, IRubyObject self, IRubyObject arg0, IRubyObject arg1) Description copied from class:CallSite
Call the site's method against the target object passing two arguments.- Overrides:
call
in classCachingCallSite
- Parameters:
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 pass- Returns:
- the result of the call
-