(literal: Node, targets: KeyReads[])
| 1698 | patchesBuiltins: ctx.patchesBuiltins |
| 1699 | } |
| 1700 | const addLiteralTarget = (literal: Node, targets: KeyReads[]) => { |
| 1701 | let own = reads.byLiteral.get(literal) |
| 1702 | if (!own) { |
| 1703 | own = { keys: new Set(), any: false } |
| 1704 | ;(reads.byLiteral as Map<Node, KeyReads>).set(literal, own) |
| 1705 | } |
| 1706 | targets.push(own) |
| 1707 | } |
| 1708 | for (const module of moduleList) { |
| 1709 | walk(module.program, node => { |
| 1710 | if (node.type !== "ThisExpression") return true |
no test coverage detected