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,
java.lang.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) |
public static java.lang.invoke.CallSite bootstrap(java.lang.invoke.MethodHandles.Lookup lookup, java.lang.String name, java.lang.invoke.MethodType type, int unwrap) throws java.lang.Throwable
java.lang.Throwable
public IRubyObject yield(ThreadContext context, Block block, IRubyObject arg) throws java.lang.Throwable
java.lang.Throwable
public IRubyObject yieldSpecific(ThreadContext context, Block block) throws java.lang.Throwable
java.lang.Throwable
public IRubyObject yieldValues(ThreadContext context, Block block, IRubyObject[] args)
Copyright © 2001-2018 JRuby. All Rights Reserved.