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

Function visitSourceFile

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

Source from the content-addressed store, hash-verified

92011 }
92012 }
92013 function visitSourceFile(node) {
92014 var alwaysStrict = ts.getStrictOptionValue(compilerOptions, "alwaysStrict") &&
92015 !(ts.isExternalModule(node) && moduleKind >= ts.ModuleKind.ES2015) &&
92016 !ts.isJsonSourceFile(node);
92017 return factory.updateSourceFile(node, ts.visitLexicalEnvironment(node.statements, sourceElementVisitor, context, /*start*/ 0, alwaysStrict));
92018 }
92019 function getClassFacts(node, staticProperties) {
92020 var facts = 0 /* ClassFacts.None */;
92021 if (ts.some(staticProperties))

Callers 1

transformSourceFileFunction · 0.85

Calls 7

enterSubtreeFunction · 0.85
exitSubtreeFunction · 0.85
startLexicalEnvironmentFunction · 0.85
endLexicalEnvironmentFunction · 0.85
addRangeMethod · 0.80
pushMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…