Methods
Modifier and Type |
Method and Description |
abstract Arity |
arity()
What is the arity of this block?
|
static int |
asArgumentType(NodeType nodeId)
Compiled codes way of examining arguments
|
IRubyObject |
call(ThreadContext context,
Binding binding,
Block.Type type) |
IRubyObject |
call(ThreadContext context,
Binding binding,
Block.Type type,
Block unusedBlock) |
IRubyObject |
call(ThreadContext context,
IRubyObject[] args,
Binding binding,
Block.Type type) |
IRubyObject |
call(ThreadContext context,
IRubyObject[] args,
Binding binding,
Block.Type type,
Block block) |
IRubyObject |
call(ThreadContext context,
IRubyObject arg0,
Binding binding,
Block.Type type) |
IRubyObject |
call(ThreadContext context,
IRubyObject arg0,
Binding binding,
Block.Type type,
Block unusedBlock) |
IRubyObject |
call(ThreadContext context,
IRubyObject arg0,
IRubyObject arg1,
Binding binding,
Block.Type type) |
IRubyObject |
call(ThreadContext context,
IRubyObject arg0,
IRubyObject arg1,
Binding binding,
Block.Type type,
Block unusedBlock) |
IRubyObject |
call(ThreadContext context,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject arg2,
Binding binding,
Block.Type type) |
IRubyObject |
call(ThreadContext context,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject arg2,
Binding binding,
Block.Type type,
Block unusedBlock) |
abstract Block |
cloneBlock(Binding binding) |
int |
getArgumentType() |
static NodeType |
getArgumentTypeWackyHack(IterNode iterNode) |
abstract String |
getFile()
Get the filename for this block
|
abstract int |
getLine()
get The line number for this block
|
String[] |
getParameterList() |
abstract StaticScope |
getStaticScope() |
boolean |
isGiven()
Is the current block a real yield'able block instead a null one
|
IRubyObject |
newArgsArrayFromArgsWithoutUnbox(IRubyObject[] args,
ThreadContext context) |
IRubyObject |
newArgsArrayFromArgsWithUnbox(IRubyObject[] args,
ThreadContext context) |
IRubyObject[] |
prepareArgumentsForCall(ThreadContext context,
IRubyObject[] args,
Block.Type type) |
abstract void |
setStaticScope(StaticScope newScope) |
abstract IRubyObject |
yield(ThreadContext context,
IRubyObject value,
Binding binding,
Block.Type type) |
IRubyObject |
yield(ThreadContext context,
IRubyObject value,
Binding binding,
Block.Type type,
Block block) |
abstract IRubyObject |
yield(ThreadContext context,
IRubyObject value,
IRubyObject self,
RubyModule klass,
boolean aValue,
Binding binding,
Block.Type type) |
IRubyObject |
yield(ThreadContext context,
IRubyObject value,
IRubyObject self,
RubyModule klass,
boolean aValue,
Binding binding,
Block.Type type,
Block block) |
IRubyObject |
yieldSpecific(ThreadContext context,
Binding binding,
Block.Type type) |
IRubyObject |
yieldSpecific(ThreadContext context,
IRubyObject arg0,
Binding binding,
Block.Type type) |
IRubyObject |
yieldSpecific(ThreadContext context,
IRubyObject arg0,
IRubyObject arg1,
Binding binding,
Block.Type type) |
IRubyObject |
yieldSpecific(ThreadContext context,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject arg2,
Binding binding,
Block.Type type) |