* Specialized visitor that visits the immediate children of a SourceFile. * * @param node The node to visit.
(node)
| 91726 | * @param node The node to visit. |
| 91727 | */ |
| 91728 | function sourceElementVisitorWorker(node) { |
| 91729 | switch (node.kind) { |
| 91730 | case 266 /* SyntaxKind.ImportDeclaration */: |
| 91731 | case 265 /* SyntaxKind.ImportEqualsDeclaration */: |
| 91732 | case 271 /* SyntaxKind.ExportAssignment */: |
| 91733 | case 272 /* SyntaxKind.ExportDeclaration */: |
| 91734 | return visitElidableStatement(node); |
| 91735 | default: |
| 91736 | return visitorWorker(node); |
| 91737 | } |
| 91738 | } |
| 91739 | function visitElidableStatement(node) { |
| 91740 | var parsed = ts.getParseTreeNode(node); |
| 91741 | if (parsed !== node) { |
nothing calls this directly
no test coverage detected