public class YieldSite extends java.lang.invoke.MutableCallSite
| Modifier and Type | Field and Description |
|---|---|
static org.objectweb.asm.Handle |
BOOTSTRAP |
| Constructor and Description |
|---|
YieldSite(java.lang.invoke.MethodType type,
boolean unwrap) |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.invoke.CallSite |
bootstrap(java.lang.invoke.MethodHandles.Lookup lookup,
String name,
java.lang.invoke.MethodType type,
int unwrap) |
IRubyObject |
yield(ThreadContext context,
Block block,
IRubyObject arg) |
IRubyObject |
yieldSpecific(ThreadContext context,
Block block) |
dynamicInvoker, getTarget, setTarget, syncAlltypepublic YieldSite(java.lang.invoke.MethodType type, boolean unwrap)
public static java.lang.invoke.CallSite bootstrap(java.lang.invoke.MethodHandles.Lookup lookup, String name, java.lang.invoke.MethodType type, int unwrap) throws Throwable
Throwablepublic IRubyObject yield(ThreadContext context, Block block, IRubyObject arg) throws Throwable
Throwablepublic IRubyObject yieldSpecific(ThreadContext context, Block block) throws Throwable
ThrowableCopyright © 2001-2016 JRuby. All Rights Reserved.