public class BlockScopeEnv extends ProxyEnv
Env for a new block.| Constructor and Description |
|---|
BlockScopeEnv(Env parent) |
| Modifier and Type | Method and Description |
|---|---|
void |
declareVariable(Class type,
String name) |
Object |
getLocalVariable(String name) |
void |
setLocalVariable(String name,
Object value) |
buildStackTraceElements, closureOwner, getBreakAddress, getContinueAddress, getExceptionHandler, getInvoker, getReturnAddresspublic BlockScopeEnv(Env parent)
public void declareVariable(Class type, String name)
declareVariable in interface EnvdeclareVariable in class ProxyEnvpublic Object getLocalVariable(String name)
getLocalVariable in interface EnvgetLocalVariable in class ProxyEnvpublic void setLocalVariable(String name, Object value)
setLocalVariable in interface EnvsetLocalVariable in class ProxyEnvCopyright © 2011–2014. All rights reserved.