* Records a raw expression that can be used to reference an export without * going through the normal symbol map. * @param {string} exportName name of the export * @param {string} expression expression to be used
(exportName, expression)
| 91 | * @param {string} expression expression to be used |
| 92 | */ |
| 93 | registerRawExport(exportName, expression) { |
| 94 | if (!this._currentModule.rawExportMap) { |
| 95 | this._currentModule.rawExportMap = new Map(); |
| 96 | } |
| 97 | if (!this._currentModule.rawExportMap.has(exportName)) { |
| 98 | this._currentModule.rawExportMap.set(exportName, expression); |
| 99 | } |
| 100 | } |
| 101 | |
| 102 | /** |
| 103 | * Returns the raw expression registered for an export, if one exists. |
no test coverage detected