Constructor and Description |
---|
MethodMissingMethod(RubyModule implementationClass,
Visibility visibility,
CallType callType) |
Modifier and Type | Method and Description |
---|---|
void |
CacheCompiler.cacheCallSite(BaseBodyCompiler method,
String name,
CallType callType) |
void |
InvocationCompiler.invokeDynamic(String name,
CompilerCallback receiverCallback,
ArgumentsCallback argsCallback,
CallType callType,
CompilerCallback closureArg,
boolean iterator)
Invoke the named method as a "function", i.e.
|
void |
InvocationCompiler.invokeDynamicVarargs(String name,
CompilerCallback receiverCallback,
ArgumentsCallback argsCallback,
CallType callType,
CompilerCallback closureArg,
boolean iterator)
Same as invokeDynamic, but uses incoming IRubyObject[] arg count to dispatch
to the proper-arity path.
|
Modifier and Type | Method and Description |
---|---|
void |
InheritedCacheCompiler.cacheCallSite(BaseBodyCompiler method,
String name,
CallType callType) |
void |
InvokeDynamicCacheCompiler.cacheCallSite(BaseBodyCompiler method,
String name,
CallType callType)
Cache a CallSite object using invokedynamic.
|
void |
StandardInvocationCompiler.invokeDynamic(String name,
CompilerCallback receiverCallback,
ArgumentsCallback argsCallback,
CallType callType,
CompilerCallback closureArg,
boolean iterator) |
void |
InvokeDynamicInvocationCompiler.invokeDynamic(String name,
CompilerCallback receiverCallback,
ArgumentsCallback argsCallback,
CallType callType,
CompilerCallback closureArg,
boolean iterator) |
void |
StandardInvocationCompiler.invokeDynamicVarargs(String name,
CompilerCallback receiverCallback,
ArgumentsCallback argsCallback,
CallType callType,
CompilerCallback closureArg,
boolean iterator) |
void |
InvokeDynamicInvocationCompiler.invokeDynamicVarargs(String name,
CompilerCallback receiverCallback,
ArgumentsCallback argsCallback,
CallType callType,
CompilerCallback closureArg,
boolean iterator) |
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 |
CompiledMethod.LazyCompiledMethod.isCallableFrom(IRubyObject caller,
CallType callType) |
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.
|
boolean |
DelegatingDynamicMethod.isCallableFrom(IRubyObject caller,
CallType callType) |
Modifier and Type | Method and Description |
---|---|
CallType |
CallBase.getCallType() |
Modifier and Type | Method and Description |
---|---|
static CallInstr |
CallInstr.create(CallType callType,
Variable result,
MethAddr methAddr,
Operand receiver,
Operand[] args,
Operand closure) |
Constructor and Description |
---|
CallBase(Operation op,
CallType callType,
MethAddr methAddr,
Operand receiver,
Operand[] args,
Operand closure) |
CallInstr(CallType callType,
Variable result,
MethAddr methAddr,
Operand receiver,
Operand[] args,
Operand closure) |
CallInstr(Operation op,
CallType callType,
Variable result,
MethAddr methAddr,
Operand receiver,
Operand[] args,
Operand closure) |
NoResultCallInstr(Operation op,
CallType callType,
MethAddr methAddr,
Operand receiver,
Operand[] args,
Operand closure) |
Modifier and Type | Field and Description |
---|---|
protected CallType |
CallSite.callType
The type of call this site makes
|
Modifier and Type | Method and Description |
---|---|
CallType |
ThreadContext.getLastCallType() |
static CallType |
CallType.valueOf(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 receiver,
Visibility visibility,
String name,
CallType callType,
Block block) |
static IRubyObject |
Helpers.callMethodMissing(ThreadContext context,
IRubyObject receiver,
Visibility visibility,
String name,
CallType callType,
IRubyObject[] args,
Block block) |
static IRubyObject |
Helpers.callMethodMissing(ThreadContext context,
IRubyObject receiver,
Visibility visibility,
String name,
CallType callType,
IRubyObject arg0,
Block block) |
static IRubyObject |
Helpers.callMethodMissing(ThreadContext context,
IRubyObject receiver,
Visibility visibility,
String name,
CallType callType,
IRubyObject arg0,
IRubyObject arg1,
Block block) |
static IRubyObject |
Helpers.callMethodMissing(ThreadContext context,
IRubyObject receiver,
Visibility visibility,
String name,
CallType callType,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject arg2,
Block block) |
static IRubyObject |
Helpers.invoke(ThreadContext context,
IRubyObject self,
String name,
CallType callType) |
static IRubyObject |
Helpers.invoke(ThreadContext context,
IRubyObject self,
String name,
IRubyObject[] args,
CallType callType,
Block block) |
static IRubyObject |
Helpers.invoke(ThreadContext context,
IRubyObject self,
String name,
IRubyObject arg,
CallType callType,
Block block) |
static DynamicMethod |
Helpers.selectMethodMissing(RubyClass selfClass,
Visibility visibility,
String name,
CallType callType) |
static DynamicMethod |
Helpers.selectMethodMissing(ThreadContext context,
IRubyObject receiver,
Visibility visibility,
String name,
CallType callType) |
static DynamicMethod |
Helpers.selectMethodMissing(ThreadContext context,
RubyClass selfClass,
Visibility visibility,
String name,
CallType callType) |
void |
ThreadContext.setLastCallStatus(CallType callType)
Returns the lastCallStatus.
|
void |
ThreadContext.setLastCallStatusAndVisibility(CallType callType,
Visibility visibility) |
Constructor and Description |
---|
CallSite(String methodName,
CallType callType)
Construct a new CallSite with the given method name and call type.
|
Constructor and Description |
---|
CachingCallSite(String methodName,
CallType callType) |
Modifier and Type | Method and Description |
---|---|
CallType |
JRubyCallSite.callType() |
Constructor and Description |
---|
JRubyCallSite(MethodHandles.Lookup lookup,
MethodType type,
CallType callType,
String file,
int line,
String name,
boolean attrAssign,
boolean iterator,
boolean expression) |
Copyright © 2001–2016 JRuby. All rights reserved.