public class CompiledIRBlockBody extends IRBlockBody
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.invoke.MethodHandle |
callHandle |
protected java.lang.invoke.MethodHandle |
handle |
protected java.lang.invoke.MethodHandle |
normalYieldHandle |
protected java.lang.invoke.MethodHandle |
normalYieldSpecificHandle |
protected java.lang.invoke.MethodHandle |
normalYieldUnwrapHandle |
protected java.lang.invoke.MethodHandle |
yieldDirectHandle |
closure, fileName, lineNumberscopeNULL_BODY, signature, testBlockBody| Constructor and Description |
|---|
CompiledIRBlockBody(java.lang.invoke.MethodHandle handle,
IRScope closure,
long encodedSignature) |
| Modifier and Type | Method and Description |
|---|---|
protected IRubyObject |
callDirect(ThreadContext context,
Block block,
IRubyObject[] args,
Block blockArg) |
boolean |
canCallDirect() |
protected IRubyObject |
commonYieldPath(ThreadContext context,
Block block,
Block.Type type,
IRubyObject[] args,
IRubyObject self,
Block blockArg) |
ArgumentDescriptor[] |
getArgumentDescriptors() |
java.lang.invoke.MethodHandle |
getCallHandle() |
java.lang.invoke.MethodHandle |
getNormalYieldHandle() |
java.lang.invoke.MethodHandle |
getNormalYieldSpecificHandle() |
java.lang.invoke.MethodHandle |
getNormalYieldUnwrapHandle() |
protected IRubyObject |
yieldDirect(ThreadContext context,
Block block,
IRubyObject[] args,
IRubyObject self) |
call, call, call, call, call, call, doYield, doYield, doYieldLambda, getEvalType, getFile, getLine, getScope, setEvalType, toAry, yieldSpecific, yieldSpecific, yieldSpecific, yieldSpecificgetStaticScope, post, pre, setStaticScopearity, call, call, call, call, getSignature, getTestBlockBody, isGiven, prepareArgumentsForCall, testBlockBody, yield, yield, yield, yieldprotected final java.lang.invoke.MethodHandle handle
protected final java.lang.invoke.MethodHandle callHandle
protected final java.lang.invoke.MethodHandle yieldDirectHandle
protected java.lang.invoke.MethodHandle normalYieldHandle
protected java.lang.invoke.MethodHandle normalYieldSpecificHandle
protected java.lang.invoke.MethodHandle normalYieldUnwrapHandle
public CompiledIRBlockBody(java.lang.invoke.MethodHandle handle,
IRScope closure,
long encodedSignature)
public ArgumentDescriptor[] getArgumentDescriptors()
getArgumentDescriptors in class BlockBodypublic boolean canCallDirect()
canCallDirect in class IRBlockBodypublic java.lang.invoke.MethodHandle getCallHandle()
public java.lang.invoke.MethodHandle getNormalYieldSpecificHandle()
public java.lang.invoke.MethodHandle getNormalYieldHandle()
public java.lang.invoke.MethodHandle getNormalYieldUnwrapHandle()
protected IRubyObject callDirect(ThreadContext context, Block block, IRubyObject[] args, Block blockArg)
callDirect in class BlockBodyprotected IRubyObject yieldDirect(ThreadContext context, Block block, IRubyObject[] args, IRubyObject self)
yieldDirect in class BlockBodyprotected IRubyObject commonYieldPath(ThreadContext context, Block block, Block.Type type, IRubyObject[] args, IRubyObject self, Block blockArg)
commonYieldPath in class IRBlockBodyCopyright © 2001-2019 JRuby. All Rights Reserved.