MCPcopy
hub / github.com/jsdoc/jsdoc / setDocletNameToValue

Function setDocletNameToValue

lib/jsdoc/tag/dictionary/definitions.js:90–97  ·  view source on GitHub ↗
(doclet, {value, text})

Source from the content-addressed store, hash-verified

88}
89
90function setDocletNameToValue(doclet, {value, text}) {
91 if (value && value.description) { // as in a long tag
92 doclet.addTag('name', value.description);
93 }
94 else if (text) { // or a short tag
95 doclet.addTag('name', text);
96 }
97}
98
99function setDocletNameToValueName(doclet, {value}) {
100 if (value && value.name) {

Callers 1

onTaggedFunction · 0.85

Calls 1

addTagMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…