* Sets used without info. * @param {RuntimeSpec} runtime the runtime * @returns {boolean} true, when something changed
(runtime)
| 502 | * @returns {boolean} true, when something changed |
| 503 | */ |
| 504 | setUsedWithoutInfo(runtime) { |
| 505 | let changed = false; |
| 506 | for (const exportInfo of this._exports.values()) { |
| 507 | if (exportInfo.setUsedWithoutInfo(runtime)) { |
| 508 | changed = true; |
| 509 | } |
| 510 | } |
| 511 | if (this._redirectTo !== undefined) { |
| 512 | if (this._redirectTo.setUsedWithoutInfo(runtime)) { |
| 513 | changed = true; |
| 514 | } |
| 515 | } else if (this._otherExportsInfo.setUsedWithoutInfo(runtime)) { |
| 516 | changed = true; |
| 517 | } |
| 518 | return changed; |
| 519 | } |
| 520 | |
| 521 | /** |
| 522 | * Sets all known exports used. |
nothing calls this directly
no test coverage detected