(name)
| 342 | * @param {string} name function name |
| 343 | */ |
| 344 | const markPure = (name) => { |
| 345 | if (pureFunctions === undefined) pureFunctions = new Set(); |
| 346 | else if (pureFunctions.has(name)) return; |
| 347 | parser.tagVariable(name, notSideEffectsTag, {}); |
| 348 | pureFunctions.add(name); |
| 349 | }; |
| 350 | |
| 351 | // Detect on function declarations |
| 352 | // Covers: |
nothing calls this directly
no test coverage detected