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

Function getDescriptionForFunctionInScope

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

Source from the content-addressed store, hash-verified

160636 return { scopes: scopes, readsAndWrites: readsAndWrites };
160637 }
160638 function getDescriptionForFunctionInScope(scope) {
160639 return ts.isFunctionLikeDeclaration(scope)
160640 ? "inner function"
160641 : ts.isClassLike(scope)
160642 ? "method"
160643 : "function";
160644 }
160645 function getDescriptionForConstantInScope(scope) {
160646 return ts.isClassLike(scope)
160647 ? "readonly field"

Callers 1

getPossibleExtractionsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected