* Records the symbol that should be used when the current module exports a * named binding. * @param {string} exportName name of the export * @param {string} symbol identifier of the export in source code
(exportName, symbol)
| 76 | * @param {string} symbol identifier of the export in source code |
| 77 | */ |
| 78 | registerExport(exportName, symbol) { |
| 79 | if (!this._currentModule.exportMap) { |
| 80 | this._currentModule.exportMap = new Map(); |
| 81 | } |
| 82 | if (!this._currentModule.exportMap.has(exportName)) { |
| 83 | this._currentModule.exportMap.set(exportName, symbol); |
| 84 | } |
| 85 | } |
| 86 | |
| 87 | /** |
| 88 | * Records a raw expression that can be used to reference an export without |
no test coverage detected