MCPcopy
hub / github.com/jsdoc/jsdoc / applyTag

Function applyTag

lib/jsdoc/doclet.js:24–36  ·  view source on GitHub ↗
(doclet, {title, value})

Source from the content-addressed store, hash-verified

22const util = require('util');
23
24function applyTag(doclet, {title, value}) {
25 if (title === 'name') {
26 doclet.name = value;
27 }
28
29 if (title === 'kind') {
30 doclet.kind = value;
31 }
32
33 if (title === 'description') {
34 doclet.description = value;
35 }
36}
37
38function fakeMeta(node) {
39 return {

Callers 1

addTagMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…