(initializer, substitutions)
| 161172 | } |
| 161173 | } |
| 161174 | function transformConstantInitializer(initializer, substitutions) { |
| 161175 | return substitutions.size |
| 161176 | ? visitor(initializer) |
| 161177 | : initializer; |
| 161178 | function visitor(node) { |
| 161179 | var substitution = substitutions.get(ts.getNodeId(node).toString()); |
| 161180 | return substitution ? ts.getSynthesizedDeepClone(substitution) : ts.visitEachChild(node, visitor, ts.nullTransformationContext); |
| 161181 | } |
| 161182 | } |
| 161183 | function getStatementsOrClassElements(scope) { |
| 161184 | if (ts.isFunctionLikeDeclaration(scope)) { |
| 161185 | var body = scope.body; // TODO: GH#18217 |
no test coverage detected
searching dependent graphs…