@@ -41,6 +41,7 @@ module.exports = {
4141
4242/**
4343 * jsdoc comment object
44+ *
4445 * @param {string } value
4546 * @param {{start: DocLocation} } loc
4647 * @constructor
@@ -103,6 +104,7 @@ function DocComment(value, loc) {
103104
104105/**
105106 * Simple jsdoc tag object
107+ *
106108 * @param {Object } tag object from comment parser, fields: tag, line, value, name, type, description
107109 * @param {DocLocation } loc
108110 * @constructor
@@ -133,6 +135,7 @@ function DocTag(tag, loc) {
133135
134136/**
135137 * Parses jsdoctype string and provides several methods to work with it
138+ *
136139 * @param {string } type
137140 * @param {DocLocation } loc
138141 * @constructor
@@ -156,7 +159,8 @@ function DocType(type, loc) {
156159 }
157160
158161 /**
159- * match type
162+ * Match type
163+ *
160164 * @param {EsprimaNode } node
161165 * @returns {boolean }
162166 */
@@ -178,6 +182,7 @@ function DocType(type, loc) {
178182
179183/**
180184 * DocLocation
185+ *
181186 * @constructor
182187 * @param {number } line
183188 * @param {number } column
@@ -193,6 +198,7 @@ function DocLocation(line, column, rel) {
193198
194199/**
195200 * Shift location by line and column
201+ *
196202 * @param {number|Object } line
197203 * @param {number } [column]
198204 * @returns {DocLocation }
@@ -207,6 +213,7 @@ DocLocation.prototype.shift = function(line, column) {
207213
208214/**
209215 * Comment parsing helper
216+ *
210217 * @param {string } comment
211218 * @returns {Object }
212219 * @private
@@ -229,6 +236,7 @@ function _parseComment(comment) {
229236
230237/**
231238 * analogue of str.match(/@(\S+)(?:\s+\{([^\}]+)\})?(?:\s+(\S+))?(?:\s+([^$]+))?/);
239+ *
232240 * @param {string } str raw jsdoc string
233241 * @returns {?Object } parsed tag node
234242 */
@@ -444,6 +452,7 @@ function _iterateDocTypes(node, cb) {
444452
445453/**
446454 * Converts AST jsDoc node to simple object
455+ *
447456 * @param {Object } node
448457 * @returns {!Array.<SimplifiedType> }
449458 * @see https://github.com/Kuniwak/jsdoctypeparser
@@ -463,6 +472,7 @@ var jsPrimitives = 'string number boolean null undefined Object Function Array D
463472
464473/**
465474 * Compare parsed jsDocTypes with esprima node
475+ *
466476 * @param {SimplifiedType[] } variants - result of jsDocParseType
467477 * @param {Object } argument - esprima source code node
468478 */
0 commit comments