Modifier and Type | Method and Description |
---|---|
static IRubyObject |
RubyEnumerable.all_pCommon(ThreadContext context,
IRubyObject self,
Block block,
Arity callbackArity)
Deprecated.
|
static IRubyObject |
RubyEnumerable.any_pCommon(ThreadContext context,
IRubyObject self,
Block block,
Arity callbackArity) |
static IRubyObject |
RubyEnumerable.callEach(Ruby runtime,
ThreadContext context,
IRubyObject self,
Arity arity,
BlockCallback callback)
Deprecated.
|
static IRubyObject |
RubyEnumerable.callEach(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject[] args,
Arity arity,
BlockCallback callback)
Deprecated.
|
static IRubyObject |
RubyEnumerable.callEach19(Ruby runtime,
ThreadContext context,
IRubyObject self,
Arity arity,
BlockCallback callback) |
static IRubyObject |
RubyEnumerable.find_index(ThreadContext context,
IRubyObject self,
Block block,
Arity callbackArity)
Deprecated.
|
static IRubyObject |
RubyEnumerable.find_indexCommon(ThreadContext context,
IRubyObject self,
Block block,
Arity callbackArity)
Deprecated.
|
static IRubyObject |
RubyEnumerable.none_p(ThreadContext context,
IRubyObject self,
Block block,
Arity callbackArity)
Deprecated.
|
static IRubyObject |
RubyEnumerable.one_p(ThreadContext context,
IRubyObject self,
Block block,
Arity callbackArity)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Arity |
ZSuperNode.getArity()
'super' can take any number of arguments.
|
Arity |
MultipleAsgnNode.getArity()
Number of arguments is dependent on headNodes size
|
Arity |
MultipleAsgn19Node.getArity() |
Arity |
InstVarNode.getArity()
A variable accessor takes no arguments.
|
Arity |
AssignableNode.getArity()
Almost all assignables are only assigned a single value.
|
Modifier and Type | Method and Description |
---|---|
Arity |
IArityNode.getArity() |
Modifier and Type | Field and Description |
---|---|
protected Arity |
CallbackInfo.arity
The arity of this function.
|
protected Arity |
AbstractInvoker.arity
The arity of this function.
|
Modifier and Type | Method and Description |
---|---|
Arity |
CallbackInfo.getArity()
Returns the
Arity of this function. |
Arity |
AbstractInvoker.getArity()
Returns the
Arity of this function. |
Modifier and Type | Field and Description |
---|---|
protected Arity |
NativeInvoker.arity |
protected Arity |
DefaultMethod.arity |
Modifier and Type | Method and Description |
---|---|
Arity |
VariadicInvoker.getArity()
Returns the
Arity of this function. |
Arity |
NativeInvoker.getArity() |
Arity |
DefaultMethod.getArity() |
Modifier and Type | Field and Description |
---|---|
protected Arity |
JavaMethod.arity |
Modifier and Type | Method and Description |
---|---|
Arity |
ProcMethod.getArity() |
Arity |
MixedModeIRMethod.getArity() |
Arity |
JavaMethod.getArity() |
Arity |
JavaMethod.JavaMethodOneBlock.getArity() |
Arity |
JavaMethod.JavaMethodZero.getArity() |
Arity |
JavaMethod.JavaMethodOne.getArity() |
Arity |
JavaMethod.JavaMethodTwo.getArity() |
Arity |
JavaMethod.JavaMethodThree.getArity() |
Arity |
InterpretedIRMethod.getArity() |
Arity |
DynamicMethod.getArity()
Retrieve the arity of this method, used for reporting arity to Ruby
code.
|
Arity |
DelegatingDynamicMethod.getArity() |
Arity |
CompiledMethod.LazyCompiledMethod.getArity() |
Arity |
CompiledIRMethod.getArity() |
Arity |
AliasMethod.getArity() |
Modifier and Type | Method and Description |
---|---|
void |
JavaMethod.init(RubyModule implementationClass,
Arity arity,
Visibility visibility,
StaticScope staticScope,
CallConfiguration callConfig) |
void |
JavaMethod.setArity(Arity arity) |
Modifier and Type | Method and Description |
---|---|
Arity |
IRClosure.getArity() |
Modifier and Type | Method and Description |
---|---|
static IRubyObject[] |
IRRuntimeHelpers.convertValueIntoArgArray(ThreadContext context,
IRubyObject value,
Arity arity,
boolean argIsArray) |
Modifier and Type | Method and Description |
---|---|
void |
InlineCloneInfo.setupYieldArgsAndYieldResult(YieldInstr yi,
BasicBlock yieldBB,
Arity blockArity) |
Modifier and Type | Field and Description |
---|---|
static Arity |
Arity.NO_ARGUMENTS |
static Arity |
Arity.ONE_ARGUMENT |
static Arity |
Arity.ONE_REQUIRED |
static Arity |
Arity.OPTIONAL |
static Arity |
Arity.THREE_ARGUMENTS |
static Arity |
Arity.THREE_REQUIRED |
static Arity |
Arity.TWO_ARGUMENTS |
static Arity |
Arity.TWO_REQUIRED |
Modifier and Type | Method and Description |
---|---|
Arity |
Signature.arity() |
Arity |
NullBlockBody.arity() |
Arity |
JavaInternalBlockBody.arity() |
Arity |
ContextAwareBlockBody.arity() |
Arity |
CallBlock19.arity() |
Arity |
CallBlock.arity() |
abstract Arity |
BlockBody.arity()
What is the arity of this block?
|
Arity |
Block.arity()
What is the arity of this block?
|
static Arity |
Arity.createArity(int value) |
static Arity |
Arity.fixed(int arity) |
static Arity |
Arity.fromAnnotation(JRubyMethod anno) |
static Arity |
Arity.fromAnnotation(JRubyMethod anno,
Class[] parameterTypes,
boolean isStatic) |
static Arity |
Arity.fromAnnotation(JRubyMethod anno,
int required) |
static Arity |
Arity.noArguments() |
static Arity |
Arity.optional() |
static Arity |
Arity.required(int minimum) |
static Arity |
Arity.singleArgument() |
static Arity |
Arity.twoArguments() |
Modifier and Type | Method and Description |
---|---|
static Signature |
Signature.from(Arity arity) |
static Block |
CallBlock19.newCallClosure(IRubyObject self,
RubyModule imClass,
Arity arity,
BlockCallback callback,
ThreadContext context)
Deprecated.
|
static Block |
CallBlock.newCallClosure(IRubyObject self,
RubyModule imClass,
Arity arity,
BlockCallback callback,
ThreadContext context)
Deprecated.
|
static BlockBody |
CompiledBlock19.newCompiledBlock(Arity arity,
StaticScope scope,
CompiledBlockCallback19 callback,
boolean hasMultipleArgsHead,
int argumentType,
String[] parameterList) |
static BlockBody |
CompiledBlock.newCompiledBlock(Arity arity,
StaticScope scope,
CompiledBlockCallback callback,
boolean hasMultipleArgsHead,
int argumentType) |
static BlockBody |
CompiledBlockLight19.newCompiledBlockLight(Arity arity,
StaticScope scope,
CompiledBlockCallback19 callback,
boolean hasMultipleArgsHead,
int argumentType,
String[] parameterList)
Deprecated.
|
static BlockBody |
CompiledBlockLight.newCompiledBlockLight(Arity arity,
StaticScope scope,
CompiledBlockCallback callback,
boolean hasMultipleArgsHead,
int argumentType) |
static Block |
CompiledBlock19.newCompiledClosure(ThreadContext context,
IRubyObject self,
Arity arity,
StaticScope scope,
CompiledBlockCallback19 callback,
boolean hasMultipleArgsHead,
int argumentType)
Deprecated.
|
static Block |
CompiledBlock.newCompiledClosure(ThreadContext context,
IRubyObject self,
Arity arity,
StaticScope scope,
CompiledBlockCallback callback,
boolean hasMultipleArgsHead,
int argumentType)
Deprecated.
|
static Block |
CompiledBlockLight19.newCompiledClosureLight(ThreadContext context,
IRubyObject self,
Arity arity,
StaticScope scope,
CompiledBlockCallback19 callback,
boolean hasMultipleArgsHead,
int argumentType)
Deprecated.
|
static Block |
CompiledBlockLight.newCompiledClosureLight(ThreadContext context,
IRubyObject self,
Arity arity,
StaticScope scope,
CompiledBlockCallback callback,
boolean hasMultipleArgsHead,
int argumentType) |
static Block |
CompiledSharedScopeBlock.newCompiledSharedScopeClosure(ThreadContext context,
IRubyObject self,
Arity arity,
DynamicScope dynamicScope,
CompiledBlockCallback callback,
boolean hasMultipleArgsHead,
int argumentType) |
static IRubyObject[] |
Helpers.restructureBlockArgs19(IRubyObject value,
Arity arity,
Block.Type type,
boolean needsSplat,
boolean alreadyArray) |
Constructor and Description |
---|
CompiledBlock(Arity arity,
StaticScope scope,
CompiledBlockCallback callback,
boolean hasMultipleArgsHead,
int argumentType) |
CompiledBlock19(Arity arity,
StaticScope scope,
CompiledBlockCallback19 callback,
boolean hasMultipleArgsHead,
int argumentType,
String[] parameterList)
Deprecated.
|
CompiledBlockLight(Arity arity,
StaticScope scope,
CompiledBlockCallback callback,
boolean hasMultipleArgsHead,
int argumentType) |
CompiledBlockLight19(Arity arity,
StaticScope scope,
CompiledBlockCallback19 callback,
boolean hasMultipleArgsHead,
int argumentType,
String[] parameterList)
Deprecated.
|
ContextAwareBlockBody(StaticScope scope,
Arity arity,
int argumentType) |
Modifier and Type | Method and Description |
---|---|
Arity |
Callback.getArity()
Deprecated.
|
Copyright © 2001-2015 JRuby. All Rights Reserved.