|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jruby.runtime.BlockBody
org.jruby.runtime.CompiledBlock
org.jruby.runtime.CompiledBlockLight
org.jruby.runtime.CompiledSharedScopeBlock
public class CompiledSharedScopeBlock
A Block implemented using a Java-based BlockCallback implementation rather than with an ICallable. For lightweight block logic within Java code.
Field Summary |
---|
Fields inherited from class org.jruby.runtime.CompiledBlock |
---|
arity, callback, hasMultipleArgsHead, scope |
Fields inherited from class org.jruby.runtime.BlockBody |
---|
argumentType, ARRAY, MULTIPLE_ASSIGNMENT, NULL_BODY, SINGLE_RESTARG, ZERO_ARGS |
Method Summary | |
---|---|
Block |
cloneBlock(Binding binding)
|
static Block |
newCompiledSharedScopeClosure(ThreadContext context,
IRubyObject self,
Arity arity,
DynamicScope dynamicScope,
CompiledBlockCallback callback,
boolean hasMultipleArgsHead,
int argumentType)
|
protected Frame |
pre(ThreadContext context,
RubyModule klass,
Binding binding)
|
Methods inherited from class org.jruby.runtime.CompiledBlockLight |
---|
newCompiledBlockLight, newCompiledClosureLight, newCompiledClosureLight, post |
Methods inherited from class org.jruby.runtime.CompiledBlock |
---|
arity, getStaticScope, newCompiledBlock, newCompiledClosure, newCompiledClosure, newCompiledClosure, setupBlockArg, setupBlockArgs, yield, yield |
Methods inherited from class org.jruby.runtime.BlockBody |
---|
asArgumentType, call, getArgumentType, getArgumentTypeWackyHack, isGiven, prepareArgumentsForCall |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Block newCompiledSharedScopeClosure(ThreadContext context, IRubyObject self, Arity arity, DynamicScope dynamicScope, CompiledBlockCallback callback, boolean hasMultipleArgsHead, int argumentType)
protected Frame pre(ThreadContext context, RubyModule klass, Binding binding)
pre
in class CompiledBlockLight
public Block cloneBlock(Binding binding)
cloneBlock
in class CompiledBlock
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |