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) |
IRubyObject |
yieldValues(ThreadContext context,
Block block,
IRubyObject[] args) |
dynamicInvoker, getTarget, setTarget, syncAll
type
public 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
Throwable
public IRubyObject yield(ThreadContext context, Block block, IRubyObject arg) throws Throwable
Throwable
public IRubyObject yieldSpecific(ThreadContext context, Block block) throws Throwable
Throwable
public IRubyObject yieldValues(ThreadContext context, Block block, IRubyObject[] args)
Copyright © 2001-2016 JRuby. All Rights Reserved.