(node, isFunctionBody)
| 99897 | return block; |
| 99898 | } |
| 99899 | function visitBlock(node, isFunctionBody) { |
| 99900 | if (isFunctionBody) { |
| 99901 | // A function body is not a block scope. |
| 99902 | return ts.visitEachChild(node, visitor, context); |
| 99903 | } |
| 99904 | var ancestorFacts = hierarchyFacts & 256 /* HierarchyFacts.IterationStatement */ |
| 99905 | ? enterSubtree(7104 /* HierarchyFacts.IterationStatementBlockExcludes */, 512 /* HierarchyFacts.IterationStatementBlockIncludes */) |
| 99906 | : enterSubtree(6976 /* HierarchyFacts.BlockExcludes */, 128 /* HierarchyFacts.BlockIncludes */); |
| 99907 | var updated = ts.visitEachChild(node, visitor, context); |
| 99908 | exitSubtree(ancestorFacts, 0 /* HierarchyFacts.None */, 0 /* HierarchyFacts.None */); |
| 99909 | return updated; |
| 99910 | } |
| 99911 | /** |
| 99912 | * Visits an ExpressionStatement that contains a destructuring assignment. |
| 99913 | * |
no test coverage detected
searching dependent graphs…