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

Function annotateJSDocThis

test/fixtures/snapshot/typescript.js:156756–156760  ·  view source on GitHub ↗
(changes, sourceFile, containingFunction, typeNode)

Source from the content-addressed store, hash-verified

156754 }
156755 }
156756 function annotateJSDocThis(changes, sourceFile, containingFunction, typeNode) {
156757 changes.addJSDocTags(sourceFile, containingFunction, [
156758 ts.factory.createJSDocThisTag(/*tagName*/ undefined, ts.factory.createJSDocTypeExpression(typeNode)),
156759 ]);
156760 }
156761 function annotateSetAccessor(changes, importAdder, sourceFile, setAccessorDeclaration, program, host, cancellationToken) {
156762 var param = ts.firstOrUndefined(setAccessorDeclaration.parameters);
156763 if (param && ts.isIdentifier(setAccessorDeclaration.name) && ts.isIdentifier(param.name)) {

Callers 1

annotateThisFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected