()
| 189 | } |
| 190 | |
| 191 | analyze(): void { |
| 192 | for (const runtime of this.program.modules.values()) this.link(runtime) |
| 193 | for (const [runtime, as, name] of this.arkReexports) |
| 194 | this.readArkExport(runtime, as, name, new Set()) |
| 195 | for (const runtime of this.program.modules.values()) { |
| 196 | if (runtime.holdsOther) { |
| 197 | escape( |
| 198 | `${runtime.module.path} creates a Scope, Module or Generic, whose validators it can't follow` |
| 199 | ) |
| 200 | } |
| 201 | for (const node of nodesAt(runtime.module, runtime.validators)) |
| 202 | this.readValue(node, runtime) |
| 203 | } |
| 204 | } |
| 205 | |
| 206 | private link(runtime: RuntimeModule): void { |
| 207 | const { module } = runtime |
no test coverage detected