public class SharedScopeBlock extends InterpretedBlock
assigner
arity, scope
argumentType, ARRAY, EMPTY_PARAMETER_LIST, MULTIPLE_ASSIGNMENT, NULL_BODY, SINGLE_RESTARG, ZERO_ARGS
Modifier | Constructor and Description |
---|---|
protected |
SharedScopeBlock(IterNode iterNode) |
Modifier and Type | Method and Description |
---|---|
IRubyObject |
call(ThreadContext context,
IRubyObject[] args,
IRubyObject replacementSelf,
Binding binding,
Block.Type type) |
Block |
cloneBlock(Binding binding) |
static Block |
newInterpretedSharedScopeClosure(ThreadContext context,
IterNode iterNode,
DynamicScope dynamicScope,
IRubyObject self) |
protected Frame |
pre(ThreadContext context,
RubyModule klass,
Binding binding) |
getBodyNode, getFile, getLine, newBlockBody, newInterpretedClosure, newInterpretedClosure, yield, yield, yield, yield, yield, yieldSpecific, yieldSpecific, yieldSpecific, yieldSpecific
arity, getStaticScope, post, setStaticScope
asArgumentType, call, call, call, call, call, call, call, call, call, call, getArgumentType, getArgumentTypeWackyHack, getParameterList, isGiven, newArgsArrayFromArgsWithoutUnbox, newArgsArrayFromArgsWithUnbox, prepareArgumentsForCall
protected SharedScopeBlock(IterNode iterNode)
public static Block newInterpretedSharedScopeClosure(ThreadContext context, IterNode iterNode, DynamicScope dynamicScope, IRubyObject self)
protected Frame pre(ThreadContext context, RubyModule klass, Binding binding)
pre
in class ContextAwareBlockBody
public IRubyObject call(ThreadContext context, IRubyObject[] args, IRubyObject replacementSelf, Binding binding, Block.Type type)
public Block cloneBlock(Binding binding)
cloneBlock
in class ContextAwareBlockBody
Copyright © 2001-2013 JRuby. All Rights Reserved.