MCPcopy
hub / github.com/jsdoc/jsdoc / setLongname

Method setLongname

lib/jsdoc/doclet.js:359–368  ·  view source on GitHub ↗

* Set the doclet's `longname` property. * * @param {string} name - The longname for the doclet.

(name)

Source from the content-addressed store, hash-verified

357 * @param {string} name - The longname for the doclet.
358 */
359 setLongname(name) {
360 /**
361 * The fully resolved symbol name.
362 * @type {string}
363 */
364 this.longname = removeGlobal(name);
365 if (jsdoc.tag.dictionary.isNamespace(this.kind)) {
366 this.longname = jsdoc.name.applyNamespace(this.longname, this.kind);
367 }
368 }
369
370 /**
371 * Set the doclet's `scope` property. Must correspond to a scope name that is defined in

Callers 2

postProcessMethod · 0.95
name.jsFile · 0.80

Calls 2

removeGlobalFunction · 0.85
isNamespaceMethod · 0.80

Tested by

no test coverage detected