public class CallBlock19 extends BlockBody
EMPTY_PARAMETER_LIST, NULL_BODY, signature, testBlockBody
Constructor and Description |
---|
CallBlock19(Signature signature,
BlockCallback callback,
ThreadContext context) |
arity, call, call, call, call, call, call, call, call, callDirect, canCallDirect, getArgumentDescriptors, getSignature, getTestBlockBody, isGiven, prepareArgumentsForCall, setEvalType, testBlockBody, yield, yield, yield, yield, yieldDirect
public CallBlock19(Signature signature, BlockCallback callback, ThreadContext context)
public static Block newCallClosure(IRubyObject self, RubyModule imClass, Signature signature, BlockCallback callback, ThreadContext context)
@Deprecated public static Block newCallClosure(IRubyObject self, RubyModule imClass, Arity arity, BlockCallback callback, ThreadContext context)
public IRubyObject call(ThreadContext context, Block block, IRubyObject[] args)
public IRubyObject call(ThreadContext context, Block block, IRubyObject[] args, Block blockArg)
public IRubyObject yieldSpecific(ThreadContext context, Block block)
yieldSpecific
in class BlockBody
public IRubyObject yieldSpecific(ThreadContext context, Block block, IRubyObject arg0)
yieldSpecific
in class BlockBody
public IRubyObject yieldSpecific(ThreadContext context, Block block, IRubyObject arg0, IRubyObject arg1)
yieldSpecific
in class BlockBody
public IRubyObject yieldSpecific(ThreadContext context, Block block, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2)
yieldSpecific
in class BlockBody
protected IRubyObject doYield(ThreadContext context, Block block, IRubyObject value)
BlockBody
Should not be called directly. Gets called by BlockBody.yield(ThreadContext, Block, org.jruby.runtime.builtin.IRubyObject)
after ensuring that any common yield logic is taken care of.
protected IRubyObject doYield(ThreadContext context, Block block, IRubyObject[] args, IRubyObject self)
public StaticScope getStaticScope()
getStaticScope
in class BlockBody
public void setStaticScope(StaticScope newScope)
setStaticScope
in class BlockBody
public String getFile()
BlockBody
Copyright © 2001-2016 JRuby. All Rights Reserved.