@protected

May 18, 2022 0 Comments

Overview

This tag marks a doclet as protected.

Note that “@protected” is equivalent to “@access protected”. See @access for details.

Examples

Using the @protected tag
/** @constructor */
function Thingy() {
    /** @protected */
    this._bar = 1;
}

See Also

  • @private
  • @public
  • @access, which encompasses @private, @protected, and @public.
  • @instance, @static, and @global