public class SharedScopeBlock extends InterpretedBlock
assignerarity, scopeargumentType, 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, yieldSpecificarity, getStaticScope, post, setStaticScopeasArgumentType, call, call, call, call, call, call, call, call, call, call, getArgumentType, getArgumentTypeWackyHack, getParameterList, isGiven, newArgsArrayFromArgsWithoutUnbox, newArgsArrayFromArgsWithUnbox, prepareArgumentsForCallprotected 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 ContextAwareBlockBodypublic IRubyObject call(ThreadContext context, IRubyObject[] args, IRubyObject replacementSelf, Binding binding, Block.Type type)
public Block cloneBlock(Binding binding)
cloneBlock in class ContextAwareBlockBodyCopyright © 2001-2013 JRuby. All Rights Reserved.