src/xblocks/block.js
function accessorsIterator(options, name, accessors) {
    const optionsSetter = get(options, 'set');
    const updateSetter = wrap(name, wrapperAccessorsSetUpdate);

    accessors[ name ] = merge({}, options, {
        set: wrap(optionsSetter, wrap(updateSetter, wrapperFunction))
    });
}
function accessorsIterator(options, name, accessors) {
    const optionsSetter = get(options, 'set');
    const updateSetter = wrap(name, wrapperAccessorsSetUpdate);

    accessors[ name ] = merge({}, options, {
        set: wrap(optionsSetter, wrap(updateSetter, wrapperFunction))
    });
}
function accessorsIterator ( options , name , accessors ) { const optionsSetter = get ( options , 'set' ) ; const updateSetter = wrap ( name , wrapperAccessorsSetUpdate ) ; accessors [ name ] = merge ( { } , options , { set : wrap ( optionsSetter , wrap ( updateSetter , wrapperFunction ) ) } ) ; }
The assignment of parameters accessors.
@example
_.forEach({}, accessorsIterator);
@param {Object} options
@param {string} name
@param {Object} accessors
@private
The assignment of parameters accessors .