org.jruby.runtime
Class CompiledSharedScopeBlock
java.lang.Object
org.jruby.runtime.BlockBody
org.jruby.runtime.CompiledBlock
org.jruby.runtime.CompiledBlockLight
org.jruby.runtime.CompiledSharedScopeBlock
- All Implemented Interfaces:
- JumpTarget
public class CompiledSharedScopeBlock
- extends CompiledBlockLight
A Block implemented using a Java-based BlockCallback implementation
rather than with an ICallable. For lightweight block logic within
Java code.
Methods inherited from class org.jruby.runtime.CompiledBlock |
arity, getStaticScope, newCompiledBlock, newCompiledClosure, newCompiledClosure, setStaticScope, setupBlockArg, setupBlockArgs, yield, yield, yieldSpecific, yieldSpecific, yieldSpecific, yieldSpecific |
Methods inherited from class org.jruby.runtime.BlockBody |
asArgumentType, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, getArgumentType, getArgumentTypeWackyHack, isGiven, prepareArgumentsForCall, yieldSpecific, yieldSpecific, yieldSpecific, yieldSpecific, yieldSpecific, yieldSpecific, yieldSpecific |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
newCompiledSharedScopeClosure
public static Block newCompiledSharedScopeClosure(ThreadContext context,
IRubyObject self,
Arity arity,
DynamicScope dynamicScope,
CompiledBlockCallback callback,
boolean hasMultipleArgsHead,
int argumentType)
pre
protected Frame pre(ThreadContext context,
RubyModule klass,
Binding binding)
- Overrides:
pre
in class CompiledBlockLight
cloneBlock
public Block cloneBlock(Binding binding)
- Overrides:
cloneBlock
in class CompiledBlock
Copyright © 2002-2007 JRuby Team. All Rights Reserved.