Top Description Fields Constructors Methods
org.jruby.ir.targets.indy

public Class YieldSite

extends MutableCallSite
Class Inheritance
Imports
com.headius.invokebinder.Binder, org.jruby.ir.runtime.IRRuntimeHelpers, org.jruby.runtime.Block, .BlockBody, .CompiledIRBlockBody, .ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.util.cli.Options, org.jruby.util.log.Logger, .LoggerFactory, org.objectweb.asm.Handle, .Opcodes, java.lang.invoke.CallSite, .MethodHandle, .MethodHandles, .MethodType, .MutableCallSite

Created by headius on 1/8/16.

Field Summary

Modifier and TypeField and Description
private int
public static final Handle
private static final Logger
private static final MethodHandles.Lookup
private static final int
private final boolean

Constructor Summary

AccessConstructor and Description
public
YieldSite(MethodType type, boolean unwrap)

Method Summary

Modifier and TypeMethod and Description
public static CallSite
bootstrap(MethodHandles.Lookup lookup, String name, MethodType type, int unwrap)

public IRubyObject
yield(ThreadContext context, Block block, IRubyObject arg)

public IRubyObject
public IRubyObject
yieldValues(ThreadContext context, Block block, IRubyObject[] args)

Inherited from java.lang.invoke.MutableCallSite:
dynamicInvokergetTargetsetTargetsyncAll

Field Detail

bindCountback to summary
private int bindCount
BOOTSTRAPback to summary
public static final Handle BOOTSTRAP
LOGback to summary
private static final Logger LOG
LOOKUPback to summary
private static final MethodHandles.Lookup LOOKUP
MAX_REBINDback to summary
private static final int MAX_REBIND
unwrapback to summary
private final boolean unwrap

Constructor Detail

YieldSiteback to summary
public YieldSite(MethodType type, boolean unwrap)

Method Detail

bootstrapback to summary
public static CallSite bootstrap(MethodHandles.Lookup lookup, String name, MethodType type, int unwrap) throws Throwable
yieldback to summary
public IRubyObject yield(ThreadContext context, Block block, IRubyObject arg) throws Throwable
yieldSpecificback to summary
public IRubyObject yieldSpecific(ThreadContext context, Block block) throws Throwable
yieldValuesback to summary
public IRubyObject yieldValues(ThreadContext context, Block block, IRubyObject[] args)