public class SharedScopeBlock extends InterpretedBlock
assigner
arity, scope
ANON_REST_PARAMETER_LIST, 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) |
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)
Copyright © 2001-2016 JRuby. All Rights Reserved.