assign method
Assigns a value
to the variable with the given name
, or creates a new variable.
You cannot use this method to assign constants.
Returns the variable whose value was just assigned.
Implementation
Variable<T> assign(String name, T value) {
return resolveOrCreate(name)..value = value;
}