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.Throwablepublic IRubyObject yield(ThreadContext context, Block block, IRubyObject arg) throws java.lang.Throwable
java.lang.Throwablepublic IRubyObject yieldSpecific(ThreadContext context, Block block) throws java.lang.Throwable
java.lang.Throwablepublic IRubyObject yieldValues(ThreadContext context, Block block, IRubyObject[] args)
Copyright © 2001-2020 JRuby. All Rights Reserved.