(path)
| 343 | } |
| 344 | }, |
| 345 | VariableDeclarator(path) { |
| 346 | if (file_transform && |
| 347 | 'name' in path.node.id && isUpperCase(path.node.id.name) && |
| 348 | path.node.init && |
| 349 | (path.node.init.type === 'FunctionExpression' || |
| 350 | path.node.init.type === 'ArrowFunctionExpression') && |
| 351 | path.node.init.body.type === 'BlockStatement' |
| 352 | ) { |
| 353 | addLocationToBody(path.node.init.body, path.node) |
| 354 | } |
| 355 | }, |
| 356 | }), |
| 357 | } |
| 358 | } |
nothing calls this directly
no test coverage detected
searching dependent graphs…