src/elements/Name.js
function Name(value, parameters) {
    abstractions.Element.call(this, utilities.types.NAME, parameters);
    if (!Array.isArray(value) || value.length === 0) {
        throw new utilities.Exception({
            $module: '/bali/elements/Name',
            $procedure: '$Name',
            $exception: '$invalidParameter',
            $parameter: value.toString(),
            $text: '"An invalid name value was passed to the constructor."'
        });
    }

    // since this element is immutable the value must be read-only
    this.getValue = function() { return value; };

    return this;
}
function Name(value, parameters) {
    abstractions.Element.call(this, utilities.types.NAME, parameters);
    if (!Array.isArray(value) || value.length === 0) {
        throw new utilities.Exception({
            $module: '/bali/elements/Name',
            $procedure: '$Name',
            $exception: '$invalidParameter',
            $parameter: value.toString(),
            $text: '"An invalid name value was passed to the constructor."'
        });
    }

    // since this element is immutable the value must be read-only
    this.getValue = function() { return value; };

    return this;
}
function Name ( value , parameters ) { abstractions . Element . call ( this , utilities . types . NAME , parameters ) ; if ( ! Array . isArray ( value ) || value . length === 0 ) { throw new utilities . Exception ( { $module : '/bali/elements/Name' , $procedure : '$Name' , $exception : '$invalidParameter' , $parameter : value . toString ( ) , $text : '"An invalid name value was passed to the constructor."' } ) ; } // since this element is immutable the value must be read-only this . getValue = function ( ) { return value ; } ; return this ; }
PUBLIC CONSTRUCTOR 
This constructor creates a new name element using the specified value.

@param {Array} value An array containing the parts of the name string.
@param {Parameters} parameters Optional parameters used to parameterize this element.
@returns {Symbol} The new name string element.
PUBLIC CONSTRUCTOR This constructor creates a new name element using the specified value .