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

Function isGlobalSourceFile

test/fixtures/snapshot/typescript.js:49356–49358  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

49354 return nodeLinks[nodeId] || (nodeLinks[nodeId] = new NodeLinks());
49355 }
49356 function isGlobalSourceFile(node) {
49357 return node.kind === 305 /* SyntaxKind.SourceFile */ && !ts.isExternalOrCommonJsModule(node);
49358 }
49359 function getSymbol(symbols, name, meaning) {
49360 if (meaning) {
49361 var symbol = getMergedSymbol(symbols.get(name));

Callers 8

resolveNameHelperFunction · 0.85
_loop_8Function · 0.85
isUncheckedJSSuggestionFunction · 0.85
inSameLexicalScopeFunction · 0.85
checkExportSpecifierFunction · 0.85
populateSymbolsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected