| 1044 | statics.map(createStaticClassProperty); |
| 1045 | |
| 1046 | const getComments = classPath => { |
| 1047 | if (classPath.value.comments) { |
| 1048 | return classPath.value.comments; |
| 1049 | } |
| 1050 | const declaration = j(classPath).closest(j.VariableDeclaration); |
| 1051 | if (declaration.size()) { |
| 1052 | return declaration.get().value.comments; |
| 1053 | } |
| 1054 | return null; |
| 1055 | }; |
| 1056 | |
| 1057 | const findUnusedVariables = (path, varName) => j(path) |
| 1058 | .closestScope() |
no outgoing calls
no test coverage detected