Top Fields Constructors Methods
org.jruby.runtime

public Class NullBlockBody

extends BlockBody
Class Inheritance
Imports
org.jruby.RubyArray, .RubyLocalJumpError, org.jruby.parser.StaticScope, org.jruby.runtime.builtin.IRubyObject

Field Summary

Inherited from org.jruby.runtime.BlockBody:
NULL_BODYsignaturetestBlockBody

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public IRubyObject
public IRubyObject
public IRubyObject
public IRubyObject
public IRubyObject
protected IRubyObject
doYield(ThreadContext context, Block block, IRubyObject value)

Implements abstract org.jruby.runtime.BlockBody.doYield.

Subclass specific yield implementation.

protected IRubyObject
doYield(ThreadContext context, Block block, IRubyObject[] args, IRubyObject self)

Implements abstract org.jruby.runtime.BlockBody.doYield.

Subclass specific yield implementation.

public String
getFile()

Implements abstract org.jruby.runtime.BlockBody.getFile.

Get the filename for this block

public int
getLine()

Implements abstract org.jruby.runtime.BlockBody.getLine.

get The line number for this block

public StaticScope
public void
public IRubyObject
public IRubyObject
public IRubyObject
public IRubyObject
Inherited from org.jruby.runtime.BlockBody:
aritycallcallcallcallcallcallDirectcanCallDirectgetArgumentDescriptorsgetSignaturegetTestBlockBodyisGivenisRubyBlockprepareArgumentsForCalltestBlockBodyyieldyieldyieldyieldyieldDirect

Constructor Detail

NullBlockBodyback to summary
public NullBlockBody()

Method Detail

callback to summary
public IRubyObject call(ThreadContext context, Block block, IRubyObject[] args)

Overrides org.jruby.runtime.BlockBody.call.

Annotations
@Override
callback to summary
public IRubyObject call(ThreadContext context, Block block)

Overrides org.jruby.runtime.BlockBody.call.

Annotations
@Override
callback to summary
public IRubyObject call(ThreadContext context, Block block, IRubyObject arg0)

Overrides org.jruby.runtime.BlockBody.call.

Annotations
@Override
callback to summary
public IRubyObject call(ThreadContext context, Block block, IRubyObject arg0, IRubyObject arg1)

Overrides org.jruby.runtime.BlockBody.call.

Annotations
@Override
callback to summary
public IRubyObject call(ThreadContext context, Block block, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2)

Overrides org.jruby.runtime.BlockBody.call.

Annotations
@Override
doYieldback to summary
protected IRubyObject doYield(ThreadContext context, Block block, IRubyObject value)

Implements abstract org.jruby.runtime.BlockBody.doYield.

Doc from org.jruby.runtime.BlockBody.doYield.

Subclass specific yield implementation.

Should not be called directly. Gets called by yield(ThreadContext, Block, org.jruby.runtime.builtin.IRubyObject) after ensuring that any common yield logic is taken care of.

Annotations
@Override
doYieldback to summary
protected IRubyObject doYield(ThreadContext context, Block block, IRubyObject[] args, IRubyObject self)

Implements abstract org.jruby.runtime.BlockBody.doYield.

Doc from org.jruby.runtime.BlockBody.doYield.

Subclass specific yield implementation.

Should not be called directly. Gets called by yield(ThreadContext, Block, org.jruby.runtime.builtin.IRubyObject[], org.jruby.runtime.builtin.IRubyObject) after ensuring that all common yield logic is taken care of.

Annotations
@Override
getFileback to summary
public String getFile()

Implements abstract org.jruby.runtime.BlockBody.getFile.

Doc from org.jruby.runtime.BlockBody.getFile.

Get the filename for this block

getLineback to summary
public int getLine()

Implements abstract org.jruby.runtime.BlockBody.getLine.

Doc from org.jruby.runtime.BlockBody.getLine.

get The line number for this block

getStaticScopeback to summary
public StaticScope getStaticScope()

Implements abstract org.jruby.runtime.BlockBody.getStaticScope.

Annotations
@Override
setStaticScopeback to summary
public void setStaticScope(StaticScope newScope)

Implements abstract org.jruby.runtime.BlockBody.setStaticScope.

yieldSpecificback to summary
public IRubyObject yieldSpecific(ThreadContext context, Block block)

Overrides org.jruby.runtime.BlockBody.yieldSpecific.

Annotations
@Override
yieldSpecificback to summary
public IRubyObject yieldSpecific(ThreadContext context, Block block, IRubyObject arg0)

Overrides org.jruby.runtime.BlockBody.yieldSpecific.

Annotations
@Override
yieldSpecificback to summary
public IRubyObject yieldSpecific(ThreadContext context, Block block, IRubyObject arg0, IRubyObject arg1)

Overrides org.jruby.runtime.BlockBody.yieldSpecific.

Annotations
@Override
yieldSpecificback to summary
public IRubyObject yieldSpecific(ThreadContext context, Block block, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2)

Overrides org.jruby.runtime.BlockBody.yieldSpecific.

Annotations
@Override