MCPcopy Index your code
hub / github.com/rollup/rollup / assertUniqueExportName

Method assertUniqueExportName

src/Module.ts:1079–1083  ·  view source on GitHub ↗
(name: string, nodeStart: number)

Source from the content-addressed store, hash-verified

1077 }
1078
1079 private assertUniqueExportName(name: string, nodeStart: number) {
1080 if (this.exportDescriptions.has(name) || this.reexportDescriptions.has(name)) {
1081 this.error(logDuplicateExportError(name), nodeStart);
1082 }
1083 }
1084
1085 private addExport(
1086 node: ExportAllDeclaration | ExportNamedDeclaration | ExportDefaultDeclaration

Callers 1

addExportMethod · 0.95

Calls 3

errorMethod · 0.95
logDuplicateExportErrorFunction · 0.90
hasMethod · 0.65

Tested by

no test coverage detected