MCPcopy Index your code
hub / github.com/nodejs/node / createJSDocComment

Function createJSDocComment

test/fixtures/snapshot/typescript.js:25980–25985  ·  view source on GitHub ↗
(comment, tags)

Source from the content-addressed store, hash-verified

25978 }
25979 // @api
25980 function createJSDocComment(comment, tags) {
25981 var node = createBaseNode(320 /* SyntaxKind.JSDoc */);
25982 node.comment = comment;
25983 node.tags = asNodeArray(tags);
25984 return node;
25985 }
25986 // @api
25987 function updateJSDocComment(node, comment, tags) {
25988 return node.comment !== comment

Callers 1

updateJSDocCommentFunction · 0.85

Calls 2

createBaseNodeFunction · 0.85
asNodeArrayFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…