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

Function getAccessibleSymbolChainFromSymbolTable

test/fixtures/snapshot/typescript.js:51896–51903  ·  view source on GitHub ↗

* @param {ignoreQualification} boolean Set when a symbol is being looked for through the exports of another symbol (meaning we have a route to qualify it already)

(symbols, ignoreQualification, isLocalNameLookup)

Source from the content-addressed store, hash-verified

51894 * @param {ignoreQualification} boolean Set when a symbol is being looked for through the exports of another symbol (meaning we have a route to qualify it already)
51895 */
51896 function getAccessibleSymbolChainFromSymbolTable(symbols, ignoreQualification, isLocalNameLookup) {
51897 if (!ts.pushIfUnique(visitedSymbolTables, symbols)) {
51898 return undefined;
51899 }
51900 var result = trySymbolTable(symbols, ignoreQualification, isLocalNameLookup);
51901 visitedSymbolTables.pop();
51902 return result;
51903 }
51904 function canQualifySymbol(symbolFromSymbolTable, meaning) {
51905 // If the symbol is equivalent and doesn't need further qualification, this symbol is accessible
51906 return !needsQualification(symbolFromSymbolTable, enclosingDeclaration, meaning) ||

Callers 1

Calls 2

trySymbolTableFunction · 0.85
popMethod · 0.80

Tested by

no test coverage detected