(map: Map<string, Node[]>, key: string, node: Node)
| 65 | const tables = new WeakMap<ResolutionContext, ClassTable>(); |
| 66 | |
| 67 | function add(map: Map<string, Node[]>, key: string, node: Node): void { |
| 68 | const list = map.get(key); |
| 69 | if (list) list.push(node); |
| 70 | else map.set(key, [node]); |
| 71 | } |
| 72 | |
| 73 | function classTable(context: ResolutionContext): ClassTable { |
| 74 | const all = context.getNodesByKind('class'); |
no test coverage detected