|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jruby.runtime.CallSite
org.jruby.runtime.callsite.CachingCallSite
org.jruby.runtime.callsite.NormalCachingCallSite
org.jruby.runtime.callsite.ShiftLeftCallSite
public class ShiftLeftCallSite
Field Summary |
---|
Fields inherited from class org.jruby.runtime.callsite.CachingCallSite |
---|
cache, totalCallSites |
Fields inherited from class org.jruby.runtime.CallSite |
---|
callType, methodName |
Constructor Summary | |
---|---|
ShiftLeftCallSite()
|
Method Summary | |
---|---|
IRubyObject |
call(ThreadContext context,
IRubyObject caller,
IRubyObject self,
IRubyObject arg)
Call the site's method against the target object passing one argument. |
IRubyObject |
call(ThreadContext context,
IRubyObject caller,
IRubyObject self,
long fixnum)
Call the site's method against the target object, passing a literal long value. |
Methods inherited from class org.jruby.runtime.callsite.NormalCachingCallSite |
---|
methodMissing |
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, callIter, callIter, callIter, callIter, callIter, callMethodMissing, callMethodMissing, callMethodMissing, callMethodMissing, callMethodMissing, callMethodMissing, callMethodMissing, callMethodMissing, callMethodMissing, callMethodMissing, getCache, getCachedClassIndex, getCachedMethodSerial, getMethodName, isOptimizable, updateCache |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ShiftLeftCallSite()
Method Detail |
---|
public IRubyObject call(ThreadContext context, IRubyObject caller, IRubyObject self, long fixnum)
CallSite
call
in class CachingCallSite
context
- the ThreadContext for the current threadcaller
- the caller, for visibility checksself
- the target object to call againstfixnum
- the literal long value to pass
public IRubyObject call(ThreadContext context, IRubyObject caller, IRubyObject self, IRubyObject arg)
CallSite
call
in class CachingCallSite
context
- the ThreadContext for the current threadcaller
- the caller, for visibility checksself
- the target object to call againstarg
- the argument to pass
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |