public class CompiledIRBlockBody extends IRBlockBody
Modifier and Type | Field and Description |
---|---|
protected java.lang.invoke.MethodHandle |
handle |
protected boolean |
pushScope |
protected boolean |
reuseParentScope |
protected boolean |
usesKwargs |
closure, evalType, fileName, lineNumber
scope
EMPTY_PARAMETER_LIST, NULL_BODY, signature
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) |
ArgumentDescriptor[] |
getArgumentDescriptors() |
call, call, call, call, call, call, doYield, doYield, doYieldLambda, getFile, getLine, setEvalType, useBindingSelf, yieldSpecific, yieldSpecific, yieldSpecific, yieldSpecific
getStaticScope, post, pre, setStaticScope
protected final java.lang.invoke.MethodHandle handle
protected boolean pushScope
protected boolean reuseParentScope
protected boolean usesKwargs
public CompiledIRBlockBody(java.lang.invoke.MethodHandle handle, IRScope closure, long encodedSignature)
public ArgumentDescriptor[] getArgumentDescriptors()
getArgumentDescriptors
in class BlockBody
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.