public class CompiledIRBlockBody extends IRBlockBody
Modifier and Type | Field and Description |
---|---|
protected IRClosure |
closure |
protected java.lang.invoke.MethodHandle |
handle |
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 |
---|
CompiledIRBlockBody(java.lang.invoke.MethodHandle handle,
IRScope closure,
long encodedSignature) |
Modifier and Type | Method and Description |
---|---|
protected IRubyObject |
commonYieldPath(ThreadContext context,
IRubyObject[] args,
IRubyObject self,
Binding binding,
Block.Type type,
Block block) |
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 final java.lang.invoke.MethodHandle handle
protected boolean pushScope
protected boolean reuseParentScope
public CompiledIRBlockBody(java.lang.invoke.MethodHandle handle, IRScope closure, long encodedSignature)
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.