Package | Description |
---|---|
org.jruby | |
org.jruby.compiler | |
org.jruby.compiler.impl | |
org.jruby.internal.runtime.methods | |
org.jruby.javasupport.util | |
org.jruby.runtime | |
org.jruby.runtime.callsite |
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) |
IRubyObject |
RubyClass.invoke(ThreadContext context,
IRubyObject self,
java.lang.String name,
CallType callType,
Block block) |
IRubyObject |
RubyClass.invoke(ThreadContext context,
IRubyObject self,
java.lang.String name,
IRubyObject[] args,
CallType callType) |
IRubyObject |
RubyClass.invoke(ThreadContext context,
IRubyObject self,
java.lang.String name,
IRubyObject[] args,
CallType callType,
Block block) |
IRubyObject |
RubyClass.invoke(ThreadContext context,
IRubyObject self,
java.lang.String name,
IRubyObject arg,
CallType callType) |
IRubyObject |
RubyClass.invoke(ThreadContext context,
IRubyObject self,
java.lang.String name,
IRubyObject arg,
CallType callType,
Block block) |
IRubyObject |
RubyClass.invoke(ThreadContext context,
IRubyObject self,
java.lang.String name,
IRubyObject arg0,
IRubyObject arg1,
CallType callType) |
IRubyObject |
RubyClass.invoke(ThreadContext context,
IRubyObject self,
java.lang.String name,
IRubyObject arg0,
IRubyObject arg1,
CallType callType,
Block block) |
IRubyObject |
RubyClass.invoke(ThreadContext context,
IRubyObject self,
java.lang.String name,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject arg2,
CallType callType) |
IRubyObject |
RubyClass.invoke(ThreadContext context,
IRubyObject self,
java.lang.String name,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject arg2,
CallType callType,
Block block) |
protected static IRubyObject |
RubyKernel.methodMissingDirect(ThreadContext context,
IRubyObject recv,
RubySymbol symbol,
Visibility lastVis,
CallType lastCallType,
IRubyObject[] args,
Block block) |
boolean |
RubyClass.notVisibleAndNotMethodMissing(DynamicMethod method,
java.lang.String name,
IRubyObject caller,
CallType callType) |
Modifier and Type | Method and Description |
---|---|
void |
CacheCompiler.cacheCallSite(BaseBodyCompiler method,
java.lang.String name,
CallType callType) |
void |
InvocationCompiler.invokeDynamic(java.lang.String name,
CompilerCallback receiverCallback,
ArgumentsCallback argsCallback,
CallType callType,
CompilerCallback closureArg,
boolean iterator)
Invoke the named method as a "function", i.e.
|
void |
InvocationCompiler.invokeDynamicVarargs(java.lang.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.
|
void |
InvocationCompiler.invokeNative(java.lang.String name,
DynamicMethod.NativeCall nativeCall,
int generation,
CompilerCallback receiver,
ArgumentsCallback args,
CompilerCallback closure,
CallType callType,
boolean iterator) |
void |
InvocationCompiler.invokeRecursive(java.lang.String name,
int moduleGeneration,
ArgumentsCallback argsCallback,
CompilerCallback closure,
CallType callType,
boolean iterator) |
Modifier and Type | Method and Description |
---|---|
void |
InheritedCacheCompiler.cacheCallSite(BaseBodyCompiler method,
java.lang.String name,
CallType callType) |
void |
StandardInvocationCompiler.invokeDynamic(java.lang.String name,
CompilerCallback receiverCallback,
ArgumentsCallback argsCallback,
CallType callType,
CompilerCallback closureArg,
boolean iterator) |
void |
StandardInvocationCompiler.invokeDynamicVarargs(java.lang.String name,
CompilerCallback receiverCallback,
ArgumentsCallback argsCallback,
CallType callType,
CompilerCallback closureArg,
boolean iterator) |
void |
StandardInvocationCompiler.invokeNative(java.lang.String name,
DynamicMethod.NativeCall nativeCall,
int moduleGeneration,
CompilerCallback receiver,
ArgumentsCallback args,
CompilerCallback closure,
CallType callType,
boolean iterator) |
void |
StandardInvocationCompiler.invokeRecursive(java.lang.String name,
int moduleGeneration,
ArgumentsCallback argsCallback,
CompilerCallback closure,
CallType callType,
boolean iterator) |
Modifier and Type | Method and Description |
---|---|
boolean |
CompiledMethod.LazyCompiledMethod.isCallableFrom(IRubyObject caller,
CallType callType) |
boolean |
DelegatingDynamicMethod.isCallableFrom(IRubyObject caller,
CallType callType) |
boolean |
DynamicMethod.isCallableFrom(IRubyObject caller,
CallType callType)
Determine whether this method is callable from the given object using
the given call type.
|
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 |
---|---|
static IRubyObject |
RuntimeHelpers.callMethodMissing(ThreadContext context,
IRubyObject receiver,
Visibility visibility,
java.lang.String name,
CallType callType,
Block block) |
static IRubyObject |
RuntimeHelpers.callMethodMissing(ThreadContext context,
IRubyObject receiver,
Visibility visibility,
java.lang.String name,
CallType callType,
IRubyObject[] args,
Block block) |
static IRubyObject |
RuntimeHelpers.callMethodMissing(ThreadContext context,
IRubyObject receiver,
Visibility visibility,
java.lang.String name,
CallType callType,
IRubyObject arg0,
Block block) |
static IRubyObject |
RuntimeHelpers.callMethodMissing(ThreadContext context,
IRubyObject receiver,
Visibility visibility,
java.lang.String name,
CallType callType,
IRubyObject arg0,
IRubyObject arg1,
Block block) |
static IRubyObject |
RuntimeHelpers.callMethodMissing(ThreadContext context,
IRubyObject receiver,
Visibility visibility,
java.lang.String name,
CallType callType,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject arg2,
Block block) |
static IRubyObject |
RuntimeHelpers.invoke(ThreadContext context,
IRubyObject self,
java.lang.String name,
CallType callType) |
static IRubyObject |
RuntimeHelpers.invoke(ThreadContext context,
IRubyObject self,
java.lang.String name,
IRubyObject[] args,
CallType callType,
Block block) |
static IRubyObject |
RuntimeHelpers.invoke(ThreadContext context,
IRubyObject self,
java.lang.String name,
IRubyObject arg,
CallType callType,
Block block) |
static DynamicMethod |
RuntimeHelpers.selectMethodMissing(RubyClass selfClass,
Visibility visibility,
java.lang.String name,
CallType callType) |
static DynamicMethod |
RuntimeHelpers.selectMethodMissing(ThreadContext context,
IRubyObject receiver,
Visibility visibility,
java.lang.String name,
CallType callType) |
static DynamicMethod |
RuntimeHelpers.selectMethodMissing(ThreadContext context,
RubyClass selfClass,
Visibility visibility,
java.lang.String name,
CallType callType) |
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(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 |
---|---|
void |
ThreadContext.setLastCallStatus(CallType callType)
Returns the lastCallStatus.
|
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.
|
Constructor and Description |
---|
CachingCallSite(java.lang.String methodName,
CallType callType) |
Copyright © 2002-2009 JRuby Team. All Rights Reserved.