(exp)
| 266 | }, |
| 267 | onNodeRemoved: NOOP, |
| 268 | addIdentifiers(exp) { |
| 269 | // identifier tracking only happens in non-browser builds. |
| 270 | if (!__BROWSER__) { |
| 271 | if (isString(exp)) { |
| 272 | addId(exp) |
| 273 | } else if (exp.identifiers) { |
| 274 | exp.identifiers.forEach(addId) |
| 275 | } else if (exp.type === NodeTypes.SIMPLE_EXPRESSION) { |
| 276 | addId(exp.content) |
| 277 | } |
| 278 | } |
| 279 | }, |
| 280 | removeIdentifiers(exp) { |
| 281 | if (!__BROWSER__) { |
| 282 | if (isString(exp)) { |
no test coverage detected