public void exitScope() { initVariableScopes().pop(); initScopeRootObjects().pop(); }
@Nullable public Object lookupLocalVariable(String name) { for (VariableScope scope : initVariableScopes()) { if (scope.definesVariable(name)) { return scope.lookupVariable(name); } } return null; }
public void enterScope() { initVariableScopes().push(new VariableScope(Collections.emptyMap())); initScopeRootObjects().push(getActiveContextObject()); }
public void enterScope(Map<String, Object> argMap) { initVariableScopes().push(new VariableScope(argMap)); initScopeRootObjects().push(getActiveContextObject()); }
public void enterScope(String name, Object value) { initVariableScopes().push(new VariableScope(name, value)); initScopeRootObjects().push(getActiveContextObject()); }
public void setLocalVariable(String name, Object value) { initVariableScopes().element().setVariable(name, value); }
public void exitScope() { initVariableScopes().pop(); initScopeRootObjects().pop(); }
@Nullable public Object lookupLocalVariable(String name) { for (VariableScope scope : initVariableScopes()) { if (scope.definesVariable(name)) { return scope.lookupVariable(name); } } return null; }
public void enterScope() { initVariableScopes().push(new VariableScope(Collections.emptyMap())); initScopeRootObjects().push(getActiveContextObject()); }
public void enterScope(Map<String, Object> argMap) { initVariableScopes().push(new VariableScope(argMap)); initScopeRootObjects().push(getActiveContextObject()); }
public void enterScope(String name, Object value) { initVariableScopes().push(new VariableScope(name, value)); initScopeRootObjects().push(getActiveContextObject()); }
public void setLocalVariable(String name, Object value) { initVariableScopes().element().setVariable(name, value); }
public void exitScope() { initVariableScopes().pop(); initScopeRootObjects().pop(); }
@Nullable public Object lookupLocalVariable(String name) { for (VariableScope scope : initVariableScopes()) { if (scope.definesVariable(name)) { return scope.lookupVariable(name); } } return null; }
public void enterScope() { initVariableScopes().push(new VariableScope(Collections.emptyMap())); initScopeRootObjects().push(getActiveContextObject()); }
public void enterScope(Map<String, Object> argMap) { initVariableScopes().push(new VariableScope(argMap)); initScopeRootObjects().push(getActiveContextObject()); }
public void setLocalVariable(String name, Object value) { initVariableScopes().element().setVariable(name, value); }
public void enterScope(String name, Object value) { initVariableScopes().push(new VariableScope(name, value)); initScopeRootObjects().push(getActiveContextObject()); }