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

Function getDescriptionForClassLikeDeclaration

test/fixtures/snapshot/typescript.js:160671–160675  ·  view source on GitHub ↗
(scope)

Source from the content-addressed store, hash-verified

160669 }
160670 }
160671 function getDescriptionForClassLikeDeclaration(scope) {
160672 return scope.kind === 257 /* SyntaxKind.ClassDeclaration */
160673 ? scope.name ? "class '".concat(scope.name.text, "'") : "anonymous class declaration"
160674 : scope.name ? "class expression '".concat(scope.name.text, "'") : "anonymous class expression";
160675 }
160676 function getDescriptionForModuleLikeDeclaration(scope) {
160677 return scope.kind === 262 /* SyntaxKind.ModuleBlock */
160678 ? "namespace '".concat(scope.parent.name.getText(), "'")

Callers 1

getPossibleExtractionsFunction · 0.85

Calls 1

concatMethod · 0.80

Tested by

no test coverage detected