Esempio n. 1
0
 /**
  * Modifies a binding in the current Frame. Does not try to modify an inherited binding. This
  * will shadow any inherited binding, which may be an error that you want to guard against
  * before calling this function.
  *
  * @param env the Environment attempting the mutation
  * @param varname the name of the variable to be bound
  * @param value the value to bind to the variable
  */
 public void put(Environment env, String varname, Object value) throws MutabilityException {
   Mutability.checkMutable(this, env);
   bindings.put(varname, value);
 }