mirror of
https://github.com/jsdoc/jsdoc.git
synced 2025-12-08 19:46:11 +00:00
On Rhino, for each file, we now fire all the jsdocCommentFound events in source order, followed by all the symbolFound events in source order. This behavior is consistent with previous versions of JSDoc. On Node.js, we now fire interleaved jsdocCommentFound and symbolFound events in source order. Includes a new Rhino .jar file: jsdoc3/rhino@5fbcc2d953
33 lines
453 B
JavaScript
33 lines
453 B
JavaScript
'use strict';
|
|
|
|
var _ = require('underscore');
|
|
|
|
/**
|
|
* Socket class.
|
|
* @class
|
|
*/
|
|
function Socket() {
|
|
// ...
|
|
}
|
|
|
|
/**
|
|
* Send a packet.
|
|
* @param {Packet} packet - The packet to send.
|
|
* @return {boolean} `true` on success, `false` on failure.
|
|
*/
|
|
Socket.prototype.send = function(packet) {
|
|
// ...
|
|
};
|
|
|
|
/**
|
|
* Virtual doclet for `Packet` class.
|
|
* @class Packet
|
|
*/
|
|
|
|
/**
|
|
* Close the socket.
|
|
*/
|
|
Socket.prototype.close = function() {
|
|
// ...
|
|
};
|