public class CompiledBlockLight extends CompiledBlock
callback, hasMultipleArgsHead
arity, scope
ANON_REST_PARAMETER_LIST, argumentType, ARRAY, EMPTY_PARAMETER_LIST, MULTIPLE_ASSIGNMENT, NULL_BODY, SINGLE_RESTARG, ZERO_ARGS
Modifier | Constructor and Description |
---|---|
protected |
CompiledBlockLight(Arity arity,
StaticScope scope,
CompiledBlockCallback callback,
boolean hasMultipleArgsHead,
int argumentType) |
Modifier and Type | Method and Description |
---|---|
static BlockBody |
newCompiledBlockLight(Arity arity,
StaticScope scope,
CompiledBlockCallback callback,
boolean hasMultipleArgsHead,
int argumentType) |
static Block |
newCompiledClosureLight(ThreadContext context,
IRubyObject self,
Arity arity,
StaticScope scope,
CompiledBlockCallback callback,
boolean hasMultipleArgsHead,
int argumentType) |
protected void |
post(ThreadContext context,
Binding binding,
Visibility vis,
Frame lastFrame) |
protected Frame |
pre(ThreadContext context,
RubyModule klass,
Binding binding) |
getFile, getLine, newCompiledBlock, newCompiledClosure, newCompiledClosure, setupBlockArg, setupBlockArgs, yield, yield, yield, yield, yieldSpecific, yieldSpecific, yieldSpecific, yieldSpecific
arity, getStaticScope, setStaticScope
asArgumentType, call, call, call, call, call, call, call, call, call, call, getArgumentType, getArgumentTypeWackyHack, getParameterList, isGiven, newArgsArrayFromArgsWithoutUnbox, newArgsArrayFromArgsWithUnbox, prepareArgumentsForCall
protected CompiledBlockLight(Arity arity, StaticScope scope, CompiledBlockCallback callback, boolean hasMultipleArgsHead, int argumentType)
public static Block newCompiledClosureLight(ThreadContext context, IRubyObject self, Arity arity, StaticScope scope, CompiledBlockCallback callback, boolean hasMultipleArgsHead, int argumentType)
public static BlockBody newCompiledBlockLight(Arity arity, StaticScope scope, CompiledBlockCallback callback, boolean hasMultipleArgsHead, int argumentType)
protected Frame pre(ThreadContext context, RubyModule klass, Binding binding)
pre
in class ContextAwareBlockBody
protected final void post(ThreadContext context, Binding binding, Visibility vis, Frame lastFrame)
post
in class ContextAwareBlockBody
Copyright © 2001-2017 JRuby. All Rights Reserved.