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

Function addInheritedMembers

test/fixtures/snapshot/typescript.js:57641–57648  ·  view source on GitHub ↗
(symbols, baseSymbols)

Source from the content-addressed store, hash-verified

57639 return result;
57640 }
57641 function addInheritedMembers(symbols, baseSymbols) {
57642 for (var _i = 0, baseSymbols_1 = baseSymbols; _i < baseSymbols_1.length; _i++) {
57643 var s = baseSymbols_1[_i];
57644 if (!symbols.has(s.escapedName) && !isStaticPrivateIdentifierProperty(s)) {
57645 symbols.set(s.escapedName, s);
57646 }
57647 }
57648 }
57649 function isStaticPrivateIdentifierProperty(s) {
57650 return !!s.valueDeclaration && ts.isPrivateIdentifierClassElementDeclaration(s.valueDeclaration) && ts.isStatic(s.valueDeclaration);
57651 }

Callers 2

resolveObjectTypeMembersFunction · 0.85

Calls 3

hasMethod · 0.65
setMethod · 0.45

Tested by

no test coverage detected