| Modifier and Type | Method and Description |
|---|---|
IRubyObject |
RubyClass.invoke(ThreadContext context,
IRubyObject self,
int methodIndex,
java.lang.String name,
IRubyObject[] args,
CallType callType,
Block block)
Deprecated.
|
IRubyObject |
RubyClass.invoke(ThreadContext context,
IRubyObject self,
java.lang.String name,
CallType callType)
Deprecated.
Use finvoke if you do not want visibility-checking or invokeFrom if you do.
|
IRubyObject |
RubyClass.invoke(ThreadContext context,
IRubyObject self,
java.lang.String name,
CallType callType,
Block block)
Deprecated.
Use finvoke if you do not want visibility-checking or invokeFrom if you do.
|
IRubyObject |
RubyClass.invoke(ThreadContext context,
IRubyObject self,
java.lang.String name,
IRubyObject[] args,
CallType callType)
Deprecated.
Use finvoke if you do not want visibility-checking or invokeFrom if you do.
|
IRubyObject |
RubyClass.invoke(ThreadContext context,
IRubyObject self,
java.lang.String name,
IRubyObject[] args,
CallType callType,
Block block)
Deprecated.
Use finvoke if you do not want visibility-checking or invokeFrom if you do.
|
IRubyObject |
RubyClass.invoke(ThreadContext context,
IRubyObject self,
java.lang.String name,
IRubyObject arg,
CallType callType)
Deprecated.
Use finvoke if you do not want visibility-checking or invokeFrom if you do.
|
IRubyObject |
RubyClass.invoke(ThreadContext context,
IRubyObject self,
java.lang.String name,
IRubyObject arg,
CallType callType,
Block block)
Deprecated.
Use finvoke if you do not want visibility-checking or invokeFrom if you do.
|
IRubyObject |
RubyClass.invoke(ThreadContext context,
IRubyObject self,
java.lang.String name,
IRubyObject arg0,
IRubyObject arg1,
CallType callType)
Deprecated.
Use finvoke if you do not want visibility-checking or invokeFrom if you do.
|
IRubyObject |
RubyClass.invoke(ThreadContext context,
IRubyObject self,
java.lang.String name,
IRubyObject arg0,
IRubyObject arg1,
CallType callType,
Block block)
Deprecated.
Use finvoke if you do not want visibility-checking or invokeFrom if you do.
|
IRubyObject |
RubyClass.invoke(ThreadContext context,
IRubyObject self,
java.lang.String name,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject arg2,
CallType callType)
Deprecated.
Use finvoke if you do not want visibility-checking or invokeFrom if you do.
|
IRubyObject |
RubyClass.invoke(ThreadContext context,
IRubyObject self,
java.lang.String name,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject arg2,
CallType callType,
Block block)
Deprecated.
Use finvoke if you do not want visibility-checking or invokeFrom if you do.
|
IRubyObject |
RubyClass.invokeFrom(ThreadContext context,
CallType callType,
IRubyObject caller,
IRubyObject self,
java.lang.String name)
Deprecated.
|
IRubyObject |
RubyClass.invokeFrom(ThreadContext context,
CallType callType,
IRubyObject caller,
IRubyObject self,
java.lang.String name,
Block block)
Deprecated.
|
IRubyObject |
RubyClass.invokeFrom(ThreadContext context,
CallType callType,
IRubyObject caller,
IRubyObject self,
java.lang.String name,
IRubyObject arg)
Deprecated.
|
IRubyObject |
RubyClass.invokeFrom(ThreadContext context,
CallType callType,
IRubyObject caller,
IRubyObject self,
java.lang.String name,
IRubyObject[] args)
Deprecated.
|
IRubyObject |
RubyClass.invokeFrom(ThreadContext context,
CallType callType,
IRubyObject caller,
IRubyObject self,
java.lang.String name,
IRubyObject[] args,
Block block)
Deprecated.
|
IRubyObject |
RubyClass.invokeFrom(ThreadContext context,
CallType callType,
IRubyObject caller,
IRubyObject self,
java.lang.String name,
IRubyObject arg,
Block block)
Deprecated.
|
IRubyObject |
RubyClass.invokeFrom(ThreadContext context,
CallType callType,
IRubyObject caller,
IRubyObject self,
java.lang.String name,
IRubyObject arg0,
IRubyObject arg1)
Deprecated.
|
IRubyObject |
RubyClass.invokeFrom(ThreadContext context,
CallType callType,
IRubyObject caller,
IRubyObject self,
java.lang.String name,
IRubyObject arg0,
IRubyObject arg1,
Block block)
Deprecated.
|
IRubyObject |
RubyClass.invokeFrom(ThreadContext context,
CallType callType,
IRubyObject caller,
IRubyObject self,
java.lang.String name,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject arg2)
Deprecated.
|
IRubyObject |
RubyClass.invokeFrom(ThreadContext context,
CallType callType,
IRubyObject caller,
IRubyObject self,
java.lang.String name,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject arg2,
Block block)
Deprecated.
|
static IRubyObject |
RubyKernel.methodMissing(ThreadContext context,
IRubyObject recv,
java.lang.String name,
Visibility lastVis,
CallType lastCallType,
IRubyObject[] args) |
static IRubyObject |
RubyKernel.methodMissing(ThreadContext context,
IRubyObject recv,
java.lang.String name,
Visibility lastVis,
CallType lastCallType,
IRubyObject[] args,
Block block)
Deprecated.
|
static IRubyObject |
RubyKernel.methodMissing(ThreadContext context,
IRubyObject recv,
java.lang.String name,
Visibility lastVis,
CallType lastCallType,
IRubyObject[] args,
boolean dropFirst) |
protected static IRubyObject |
RubyKernel.methodMissingDirect(ThreadContext context,
IRubyObject recv,
RubySymbol symbol,
Visibility lastVis,
CallType lastCallType,
IRubyObject[] args) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
DynamicMethod.isCallableFrom(IRubyObject caller,
CallType callType)
Determine whether this method is callable from the given object using
the given call type.
|
boolean |
DelegatingDynamicMethod.isCallableFrom(IRubyObject caller,
CallType callType) |
boolean |
NullMethod.isCallableFrom(IRubyObject caller,
CallType callType)
NullMethod is always visible because it's only used as a marker to
break method lookup loops.
|
boolean |
UndefinedMethod.isCallableFrom(IRubyObject caller,
CallType callType)
UndefinedMethod is always visible because it's only used as a marker for
missing or undef'ed methods.
|
| Modifier and Type | Method and Description |
|---|---|
CallType |
CallBase.getCallType() |
| Modifier and Type | Method and Description |
|---|---|
static NoResultCallInstr |
NoResultCallInstr.create(IRScope scope,
CallType callType,
RubySymbol name,
Operand receiver,
Operand[] args,
Operand closure,
boolean isPotentiallyRefined) |
static CallInstr |
CallInstr.create(IRScope scope,
CallType callType,
Variable result,
RubySymbol name,
Operand receiver,
Operand[] args,
Operand closure) |
static CallInstr |
CallInstr.createWithKwargs(IRScope scope,
CallType callType,
Variable result,
RubySymbol name,
Operand receiver,
Operand[] args,
Operand closure,
java.util.List<KeyValuePair<Operand,Operand>> kwargs) |
protected static CallSite |
CallBase.getCallSiteFor(IRScope scope,
CallType callType,
java.lang.String name,
long callsiteId,
boolean hasLiteralClosure,
boolean potentiallyRefined) |
| Constructor and Description |
|---|
AttrAssignInstr(IRScope scope,
CallType callType,
RubySymbol name,
Operand receiver,
Operand[] args,
boolean potentiallyRefined,
CallSite callSite,
long callSiteId) |
CallBase(IRScope scope,
Operation op,
CallType callType,
RubySymbol name,
Operand receiver,
Operand[] args,
Operand closure,
boolean potentiallyRefined) |
CallBase(IRScope scope,
Operation op,
CallType callType,
RubySymbol name,
Operand receiver,
Operand[] args,
Operand closure,
boolean potentiallyRefined,
CallSite callSite,
long callSiteId) |
CallInstr(IRScope scope,
CallType callType,
Variable result,
RubySymbol name,
Operand receiver,
Operand[] args,
Operand closure,
boolean potentiallyRefined) |
CallInstr(IRScope scope,
Operation op,
CallType callType,
Variable result,
RubySymbol name,
Operand receiver,
Operand[] args,
Operand closure,
boolean potentiallyRefined) |
CallInstr(IRScope scope,
Operation op,
CallType callType,
Variable result,
RubySymbol name,
Operand receiver,
Operand[] args,
Operand closure,
boolean potentiallyRefined,
CallSite callSite,
long callSiteId) |
NoResultCallInstr(IRScope scope,
Operation op,
CallType callType,
RubySymbol name,
Operand receiver,
Operand[] args,
Operand closure,
boolean isPotentiallyRefined) |
NoResultCallInstr(IRScope scope,
Operation op,
CallType callType,
RubySymbol name,
Operand receiver,
Operand[] args,
Operand closure,
boolean potentiallyRefined,
CallSite callSite,
long callSiteId) |
| Constructor and Description |
|---|
OneArgOperandAttrAssignInstr(IRScope scope,
CallType callType,
RubySymbol name,
Operand receiver,
Operand[] args,
boolean potentiallyRefined,
CallSite callSite,
long callSiteId) |
OneFixnumArgNoBlockCallInstr(IRScope scope,
CallType callType,
Variable result,
RubySymbol name,
Operand receiver,
Operand[] args,
boolean potentiallyRefined) |
OneFixnumArgNoBlockCallInstr(IRScope scope,
CallType callType,
Variable result,
RubySymbol name,
Operand receiver,
Operand[] args,
boolean potentiallyRefined,
CallSite callSite,
long callSiteId) |
OneFloatArgNoBlockCallInstr(IRScope scope,
CallType callType,
Variable result,
RubySymbol name,
Operand receiver,
Operand[] args,
boolean potentiallyRefined) |
OneFloatArgNoBlockCallInstr(IRScope scope,
CallType callType,
Variable result,
RubySymbol name,
Operand receiver,
Operand[] args,
boolean potentiallyRefined,
CallSite callSite,
long callSiteId) |
OneOperandArgBlockCallInstr(IRScope scope,
CallType callType,
Variable result,
RubySymbol name,
Operand receiver,
Operand[] args,
Operand closure,
boolean isPotentiallyRefined) |
OneOperandArgBlockCallInstr(IRScope scope,
CallType callType,
Variable result,
RubySymbol name,
Operand receiver,
Operand[] args,
Operand closure,
boolean isPotentiallyRefined,
CallSite callSite,
long callSiteId) |
OneOperandArgNoBlockCallInstr(IRScope scope,
CallType callType,
Variable result,
RubySymbol name,
Operand receiver,
Operand[] args,
boolean isPotentiallyRefined) |
OneOperandArgNoBlockCallInstr(IRScope scope,
Operation op,
CallType callType,
Variable result,
RubySymbol name,
Operand receiver,
Operand[] args,
boolean isPotentiallyRefined) |
OneOperandArgNoBlockCallInstr(IRScope scope,
Operation op,
CallType callType,
Variable result,
RubySymbol name,
Operand receiver,
Operand[] args,
boolean isPotentiallyRefined,
CallSite callSite,
long callSiteId) |
OneOperandArgNoBlockNoResultCallInstr(IRScope scope,
CallType callType,
RubySymbol name,
Operand receiver,
Operand[] args,
Operand closure,
boolean isPotentiallyRefined) |
OneOperandArgNoBlockNoResultCallInstr(IRScope scope,
CallType callType,
RubySymbol name,
Operand receiver,
Operand[] args,
Operand closure,
boolean potentiallyRefined,
CallSite callSite,
long callSiteId) |
TwoOperandArgNoBlockCallInstr(IRScope scope,
CallType callType,
Variable result,
RubySymbol name,
Operand receiver,
Operand[] args,
boolean isPotentiallyRefined) |
TwoOperandArgNoBlockCallInstr(IRScope scope,
CallType callType,
Variable result,
RubySymbol name,
Operand receiver,
Operand[] args,
boolean isPotentiallyRefined,
CallSite callSite,
long callSiteId) |
ZeroOperandArgNoBlockCallInstr(IRScope scope,
CallType callType,
Variable result,
RubySymbol name,
Operand receiver,
Operand[] args,
boolean isPotentiallyRefined) |
ZeroOperandArgNoBlockCallInstr(IRScope scope,
Operation op,
CallType callType,
Variable result,
RubySymbol name,
Operand receiver,
Operand[] args,
boolean isPotentiallyRefined) |
ZeroOperandArgNoBlockCallInstr(IRScope scope,
Operation op,
CallType callType,
Variable result,
RubySymbol name,
Operand receiver,
Operand[] args,
boolean isPotentiallyRefined,
CallSite callSite,
long callSiteId) |
| Modifier and Type | Method and Description |
|---|---|
static ProfilingCachingCallSite |
IRRuntimeHelpers.newProfilingCachingCallSite(CallType callType,
java.lang.String name,
IRScope scope,
long callSiteId) |
| Modifier and Type | Field and Description |
|---|---|
CallType |
InvokeSite.callType |
| Modifier and Type | Method and Description |
|---|---|
static IRubyObject |
InvokeSite.callMethodMissing(CacheEntry entry,
CallType callType,
ThreadContext context,
IRubyObject self,
RubyClass selfClass,
java.lang.String name,
IRubyObject[] args,
Block block)
Variable arity method_missing invocation.
|
static IRubyObject |
InvokeSite.callMethodMissing(CacheEntry entry,
CallType callType,
ThreadContext context,
IRubyObject self,
RubyClass selfClass,
java.lang.String name,
IRubyObject arg0,
Block block)
Arity one method_missing invocation
|
static IRubyObject |
InvokeSite.callMethodMissing(CacheEntry entry,
CallType callType,
ThreadContext context,
IRubyObject self,
RubyClass selfClass,
java.lang.String name,
IRubyObject arg0,
IRubyObject arg1,
Block block)
Arity two method_missing invocation
|
static IRubyObject |
InvokeSite.callMethodMissing(CacheEntry entry,
CallType callType,
ThreadContext context,
IRubyObject self,
RubyClass selfClass,
java.lang.String name,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject arg2,
Block block)
Arity three method_missing invocation
|
| Constructor and Description |
|---|
InvokeSite(java.lang.invoke.MethodType type,
java.lang.String name,
CallType callType,
boolean literalClosure,
java.lang.String file,
int line) |
InvokeSite(java.lang.invoke.MethodType type,
java.lang.String name,
CallType callType,
java.lang.String file,
int line) |
SelfInvokeSite(java.lang.invoke.MethodType type,
java.lang.String name,
CallType callType,
boolean literalClosure,
java.lang.String file,
int line) |
SelfInvokeSite(java.lang.invoke.MethodType type,
java.lang.String name,
CallType callType,
java.lang.String file,
int line) |
| Modifier and Type | Field and Description |
|---|---|
protected CallType |
CallSite.callType
The type of call this site makes
|
| Modifier and Type | Method and Description |
|---|---|
static CallType |
CallType.fromOrdinal(int ordinal) |
CallType |
ThreadContext.getLastCallType() |
static CallType |
CallType.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CallType[] |
CallType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static IRubyObject |
Helpers.callMethodMissing(ThreadContext context,
IRubyObject self,
RubyClass klass,
Visibility visibility,
java.lang.String name,
CallType callType,
Block block) |
static IRubyObject |
Helpers.callMethodMissing(ThreadContext context,
IRubyObject self,
RubyClass klass,
Visibility visibility,
java.lang.String name,
CallType callType,
IRubyObject[] args,
Block block) |
static IRubyObject |
Helpers.callMethodMissing(ThreadContext context,
IRubyObject self,
RubyClass klass,
Visibility visibility,
java.lang.String name,
CallType callType,
IRubyObject arg0,
Block block) |
static IRubyObject |
Helpers.callMethodMissing(ThreadContext context,
IRubyObject self,
RubyClass klass,
Visibility visibility,
java.lang.String name,
CallType callType,
IRubyObject arg0,
IRubyObject arg1,
Block block) |
static IRubyObject |
Helpers.callMethodMissing(ThreadContext context,
IRubyObject self,
RubyClass klass,
Visibility visibility,
java.lang.String name,
CallType callType,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject arg2,
Block block) |
static IRubyObject |
Helpers.callMethodMissing(ThreadContext context,
IRubyObject receiver,
Visibility visibility,
java.lang.String name,
CallType callType,
Block block) |
static IRubyObject |
Helpers.callMethodMissing(ThreadContext context,
IRubyObject receiver,
Visibility visibility,
java.lang.String name,
CallType callType,
IRubyObject[] args,
Block block) |
static IRubyObject |
Helpers.callMethodMissing(ThreadContext context,
IRubyObject receiver,
Visibility visibility,
java.lang.String name,
CallType callType,
IRubyObject arg0,
Block block) |
static IRubyObject |
Helpers.callMethodMissing(ThreadContext context,
IRubyObject receiver,
Visibility visibility,
java.lang.String name,
CallType callType,
IRubyObject arg0,
IRubyObject arg1,
Block block) |
static IRubyObject |
Helpers.callMethodMissing(ThreadContext context,
IRubyObject receiver,
Visibility visibility,
java.lang.String name,
CallType callType,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject arg2,
Block block) |
static CallSite |
MethodIndex.getProfilingCallSite(CallType callType,
java.lang.String name,
IRScope scope,
long callsiteId) |
static IRubyObject |
Helpers.invoke(ThreadContext context,
IRubyObject self,
java.lang.String name,
CallType callType)
Deprecated.
Use finvoke if you do not want visibility-checking or invokeFrom if you do.
|
static IRubyObject |
Helpers.invoke(ThreadContext context,
IRubyObject self,
java.lang.String name,
IRubyObject[] args,
CallType callType,
Block block)
Deprecated.
Use finvoke if you do not want visibility-checking or invokeFrom if you do.
|
static IRubyObject |
Helpers.invoke(ThreadContext context,
IRubyObject self,
java.lang.String name,
IRubyObject arg,
CallType callType,
Block block)
Deprecated.
Use finvoke if you do not want visibility-checking or invokeFrom if you do.
|
static IRubyObject |
Helpers.invokeFrom(ThreadContext context,
IRubyObject caller,
IRubyObject self,
java.lang.String name,
CallType callType)
Deprecated.
|
static IRubyObject |
Helpers.invokeFrom(ThreadContext context,
IRubyObject caller,
IRubyObject self,
java.lang.String name,
IRubyObject[] args,
CallType callType,
Block block)
Deprecated.
|
static IRubyObject |
Helpers.invokeFrom(ThreadContext context,
IRubyObject caller,
IRubyObject self,
java.lang.String name,
IRubyObject arg,
CallType callType,
Block block)
Deprecated.
|
static DynamicMethod |
Helpers.selectMethodMissing(RubyClass selfClass,
Visibility visibility,
java.lang.String name,
CallType callType) |
static DynamicMethod |
Helpers.selectMethodMissing(ThreadContext context,
IRubyObject receiver,
Visibility visibility,
java.lang.String name,
CallType callType) |
static DynamicMethod |
Helpers.selectMethodMissing(ThreadContext context,
RubyClass selfClass,
Visibility visibility,
java.lang.String name,
CallType callType) |
void |
ThreadContext.setLastCallStatusAndVisibility(CallType callType,
Visibility visibility) |
| Constructor and Description |
|---|
CallSite(java.lang.String methodName,
CallType callType)
Construct a new CallSite with the given method name and call type.
|
MethodMissingMethod(CacheEntry entry,
Visibility lastVisibility,
CallType lastCallStatus) |
| Constructor and Description |
|---|
CachingCallSite(java.lang.String methodName,
CallType callType) |
ProfilingCachingCallSite(CallType callType,
java.lang.String methodName,
IRScope scope,
long callSiteId) |
RefinedCachingCallSite(java.lang.String methodName,
IRScope scope,
CallType callType) |
RefinedCachingCallSite(java.lang.String methodName,
StaticScope scope,
CallType callType) |
| Modifier and Type | Method and Description |
|---|---|
CallType |
JRubyCallSite.callType() |
| Modifier and Type | Method and Description |
|---|---|
static IRubyObject |
InvokeDynamicSupport.callMethodMissing(CacheEntry entry,
CallType callType,
ThreadContext context,
IRubyObject self,
java.lang.String name,
IRubyObject arg) |
static boolean |
InvokeDynamicSupport.methodMissing(CacheEntry entry,
CallType callType,
java.lang.String name,
IRubyObject caller) |
Copyright © 2001-2021 JRuby. All Rights Reserved.