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

Function checkGrammarSourceFile

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

Source from the content-addressed store, hash-verified

89022 return false;
89023 }
89024 function checkGrammarSourceFile(node) {
89025 return !!(node.flags & 16777216 /* NodeFlags.Ambient */) && checkGrammarTopLevelElementsForRequiredDeclareModifier(node);
89026 }
89027 function checkGrammarStatementInAmbientContext(node) {
89028 if (node.flags & 16777216 /* NodeFlags.Ambient */) {
89029 // Find containing block which is either Block, ModuleBlock, SourceFile

Callers 1

checkSourceFileWorkerFunction · 0.85

Tested by

no test coverage detected