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

Function visitCaseBlock

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

Source from the content-addressed store, hash-verified

98789 return ts.visitEachChild(node, visitor, context);
98790 }
98791 function visitCaseBlock(node) {
98792 var ancestorFacts = enterSubtree(7104 /* HierarchyFacts.BlockScopeExcludes */, 0 /* HierarchyFacts.BlockScopeIncludes */);
98793 var updated = ts.visitEachChild(node, visitor, context);
98794 exitSubtree(ancestorFacts, 0 /* HierarchyFacts.None */, 0 /* HierarchyFacts.None */);
98795 return updated;
98796 }
98797 function returnCapturedThis(node) {
98798 return ts.setOriginalNode(factory.createReturnStatement(factory.createUniqueName("_this", 16 /* GeneratedIdentifierFlags.Optimistic */ | 32 /* GeneratedIdentifierFlags.FileLevel */)), node);
98799 }

Callers 2

visitorWorkerFunction · 0.85
topLevelNestedVisitorFunction · 0.85

Calls 2

enterSubtreeFunction · 0.85
exitSubtreeFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…