|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jruby.runtime.Block
public final class Block
Internal live representation of a block ({...} or do ... end).
Nested Class Summary | |
---|---|
static class |
Block.Type
|
Field Summary | |
---|---|
static Block |
NULL_BLOCK
All Block variables should either refer to a real block or this NULL_BLOCK. |
Block.Type |
type
|
Constructor Summary | |
---|---|
Block(BlockBody body)
|
|
Block(BlockBody body,
Binding binding)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public Block.Type type
public static final Block NULL_BLOCK
Constructor Detail |
---|
public Block(BlockBody body, Binding binding)
public Block(BlockBody body)
Method Detail |
---|
public IRubyObject call(ThreadContext context, IRubyObject[] args)
public IRubyObject call(ThreadContext context, IRubyObject[] args, Block block)
public IRubyObject call(ThreadContext context)
public IRubyObject call(ThreadContext context, Block block)
public IRubyObject yieldSpecific(ThreadContext context)
public IRubyObject call(ThreadContext context, IRubyObject arg0)
public IRubyObject call(ThreadContext context, IRubyObject arg0, Block block)
public IRubyObject yieldSpecific(ThreadContext context, IRubyObject arg0)
public IRubyObject call(ThreadContext context, IRubyObject arg0, IRubyObject arg1)
public IRubyObject call(ThreadContext context, IRubyObject arg0, IRubyObject arg1, Block block)
public IRubyObject yieldSpecific(ThreadContext context, IRubyObject arg0, IRubyObject arg1)
public IRubyObject call(ThreadContext context, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2)
public IRubyObject call(ThreadContext context, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2, Block block)
public IRubyObject yieldSpecific(ThreadContext context, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2)
public IRubyObject yield(ThreadContext context, IRubyObject value)
@Deprecated public IRubyObject yield(ThreadContext context, IRubyObject value, IRubyObject self, RubyModule klass, boolean aValue)
public IRubyObject yieldNonArray(ThreadContext context, IRubyObject value, IRubyObject self, RubyModule klass)
public IRubyObject yieldArray(ThreadContext context, IRubyObject value, IRubyObject self, RubyModule klass)
@Deprecated public IRubyObject yield(ThreadContext context, IRubyObject value, boolean aValue)
@Deprecated public IRubyObject yield(ThreadContext context, boolean aValue)
public Block cloneBlock()
public Arity arity()
public RubyProc getProcObject()
public void setProcObject(RubyProc procObject)
procObject
- public final boolean isGiven()
public Binding getBinding()
public BlockBody getBody()
public Frame getFrame()
public boolean isEscaped()
public void escape()
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |