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

Function visitForInStatement

test/fixtures/snapshot/typescript.js:100184–100186  ·  view source on GitHub ↗
(node, outermostLabeledStatement)

Source from the content-addressed store, hash-verified

100182 return factory.updateForStatement(node, ts.visitNode(node.initializer, visitorWithUnusedExpressionResult, ts.isForInitializer), ts.visitNode(node.condition, visitor, ts.isExpression), ts.visitNode(node.incrementor, visitorWithUnusedExpressionResult, ts.isExpression), ts.visitNode(node.statement, visitor, ts.isStatement, factory.liftToBlock));
100183 }
100184 function visitForInStatement(node, outermostLabeledStatement) {
100185 return visitIterationStatementWithFacts(3008 /* HierarchyFacts.ForInOrForOfStatementExcludes */, 5376 /* HierarchyFacts.ForInOrForOfStatementIncludes */, node, outermostLabeledStatement);
100186 }
100187 function visitForOfStatement(node, outermostLabeledStatement) {
100188 return visitIterationStatementWithFacts(3008 /* HierarchyFacts.ForInOrForOfStatementExcludes */, 5376 /* HierarchyFacts.ForInOrForOfStatementIncludes */, node, outermostLabeledStatement, compilerOptions.downlevelIteration ? convertForOfStatementForIterable : convertForOfStatementForArray);
100189 }

Callers 4

visitorWorkerFunction · 0.85
visitIterationStatementFunction · 0.85
topLevelNestedVisitorFunction · 0.85

Calls 5

beginScriptLoopBlockFunction · 0.85
hoistVariableDeclarationFunction · 0.85
endLoopBlockFunction · 0.85
visitForInitializerFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…