public class InterpretedIRBlockBody extends IRBlockBody
Modifier and Type | Field and Description |
---|---|
protected IRClosure |
closure |
protected boolean |
pushScope |
protected boolean |
reuseParentScope |
evalType, fileName, lineNumber, parameterList, signature
arity, scope
argumentType, ARRAY, EMPTY_PARAMETER_LIST, MULTIPLE_ASSIGNMENT, NULL_BODY, SINGLE_RESTARG, ZERO_ARGS
Constructor and Description |
---|
InterpretedIRBlockBody(IRClosure closure,
Signature signature) |
Modifier and Type | Method and Description |
---|---|
protected IRubyObject |
commonYieldPath(ThreadContext context,
IRubyObject[] args,
IRubyObject self,
Binding binding,
Block.Type type,
Block block) |
InterpreterContext |
ensureInstrsReady() |
blockArgWarning, call, call, call, call, call, call, convertToRubyArray, doYield, doYield, getFile, getLine, getParameterList, getSignature, prepareArgumentsForCall, setEvalType, setParameterList, useBindingSelf, yieldSpecific, yieldSpecific, yieldSpecific, yieldSpecific
arity, getStaticScope, post, pre, setStaticScope
asArgumentType, call, call, call, call, getArgumentType, getArgumentTypeWackyHack, isGiven, yield, yield, yield, yield
protected final IRClosure closure
protected boolean pushScope
protected boolean reuseParentScope
public InterpreterContext ensureInstrsReady()
protected IRubyObject commonYieldPath(ThreadContext context, IRubyObject[] args, IRubyObject self, Binding binding, Block.Type type, Block block)
commonYieldPath
in class IRBlockBody
Copyright © 2001-2015 JRuby. All Rights Reserved.