jsdoc/test/fixtures/inheritdoctag.js
2014-12-22 10:35:52 -08:00

34 lines
531 B
JavaScript

/**
* Parent class.
* @class
*/
function Connection() {}
/**
* Open the connection.
* @virtual
*/
Connection.prototype.open = function() {};
/**
* Close the connection.
*/
Connection.prototype.close = function() {};
/**
* Child class.
* @class
* @extends Connection
*/
function Socket() {}
/** @inheritdoc */
Socket.prototype.open = function() {};
/**
* Close the socket.
* @param {string} message - A message explaining why the socket is being closed.
* @inheritdoc
*/
Socket.prototype.close = function() {};