public abstract class ContextAwareBlockBody extends BlockBody
Modifier and Type | Field and Description |
---|---|
protected StaticScope |
scope
The static scope for the block body
|
NULL_BODY, signature, testBlockBody
Constructor and Description |
---|
ContextAwareBlockBody(StaticScope scope,
Arity arity,
int argumentType)
Deprecated.
|
ContextAwareBlockBody(StaticScope scope,
Signature signature) |
Modifier and Type | Method and Description |
---|---|
StaticScope |
getStaticScope() |
protected void |
post(ThreadContext context,
Block block,
Visibility vis,
Frame lastFrame) |
protected Frame |
pre(ThreadContext context,
Block block) |
void |
setStaticScope(StaticScope newScope) |
arity, call, call, call, call, call, call, call, call, call, call, callDirect, canCallDirect, doYield, doYield, getArgumentDescriptors, getEvalType, getFile, getLine, getSignature, getTestBlockBody, isGiven, prepareArgumentsForCall, setEvalType, testBlockBody, yield, yield, yield, yield, yieldDirect, yieldSpecific, yieldSpecific, yieldSpecific, yieldSpecific
protected StaticScope scope
public ContextAwareBlockBody(StaticScope scope, Signature signature)
@Deprecated public ContextAwareBlockBody(StaticScope scope, Arity arity, int argumentType)
protected Frame pre(ThreadContext context, Block block)
protected void post(ThreadContext context, Block block, Visibility vis, Frame lastFrame)
public StaticScope getStaticScope()
getStaticScope
in class BlockBody
public void setStaticScope(StaticScope newScope)
setStaticScope
in class BlockBody
Copyright © 2001-2018 JRuby. All Rights Reserved.