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

Function getNameForJSDocFunctionParameter

test/fixtures/snapshot/typescript.js:54090–54094  ·  view source on GitHub ↗

Note that `new:T` parameters are not handled, but should be before calling this function.

(p, index)

Source from the content-addressed store, hash-verified

54088 }
54089 /** Note that `new:T` parameters are not handled, but should be before calling this function. */
54090 function getNameForJSDocFunctionParameter(p, index) {
54091 return p.name && ts.isIdentifier(p.name) && p.name.escapedText === "this" ? "this"
54092 : getEffectiveDotDotDotForParameter(p) ? "args"
54093 : "arg".concat(index);
54094 }
54095 function rewriteModuleSpecifier(parent, lit) {
54096 if (bundled) {
54097 if (context.tracker && context.tracker.moduleResolverHost) {

Callers 1

Calls 2

concatMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…