src/VariableManager.js
/**
 * A class that manages variable names and values.
 *
 * @constructor
 *
 * @param {VariableManager=} source An optional parameter that can be used as basic set of variables for the created
 *        VariableManager instance. I.e. all variables of the passed VariableManager are copied into the new one.
 * @throws {Error} Thrown in case source is not of type VariableManager.
 */
A class that manages variable names and values.
@constructor

@param {VariableManager=} source An optional parameter that can be used as basic set of variables for the created
VariableManager instance.
A class that manages variable names and values . @constructor @param { VariableManager = } source An optional parameter that can be used as basic set of variables for the created VariableManager instance .
function VariableManager (source) {
    this._variables = {};
    if (source && !(source instanceof VariableManager)) {
        throw new Error('"source" must be of type "VariableManager"!');
    } else if (source) {
        for (var key in source._variables) {
            this._variables[key] = source._variables[key];
        }
    }
}
function VariableManager ( source ) { this . _variables = { } ; if ( source && ! ( source instanceof VariableManager ) ) { throw new Error ( '"source" must be of type "VariableManager"!' ) ; } else if ( source ) { for ( var key in source . _variables ) { this . _variables [ key ] = source . _variables [ key ] ; } } }
A class that manages variable names and values.
A class that manages variable names and values .
/**
     * Contains a maaping of variable names and variable values.
     *
     * @type {Object<string, string>}
     */