new ExportsInfo(): ExportsInfo
ExportsInfoIterable<ExportInfo>Returns all exports in any order.
Source Code: lib/ExportsInfo.js#L224Iterable<ExportInfo>Gets ordered exports.
Source Code: lib/ExportsInfo.js#L198Iterable<ExportInfo>Gets ordered owned exports.
Source Code: lib/ExportsInfo.js#L248ExportInfoGets other exports info.
Source Code: lib/ExportsInfo.js#L190Iterable<ExportInfo>Gets owned exports.
exportsInfo.getExportInfo(name): ExportInfo
stringExportInfoReturns export info for this name.
exportsInfo.getNestedExportsInfo(name?): ExportsInfo | undefined
string[]ExportsInfo | undefinedGets nested exports info.
exportsInfo.getOwnExportInfo(name): ExportInfo
stringExportInfoGets own export info.
exportsInfo.getProvidedExports(): true | string[] | null
Gets provided exports.
exportsInfo.getReadOnlyExportInfo(name): ExportInfo
stringExportInfoGets read only export info.
exportsInfo.getReadOnlyExportInfoRecursive(name): ExportInfo | undefined
string[]ExportInfo | undefinedGets read only export info recursive.
exportsInfo.getRelevantExports(runtime): ExportInfo[]
RuntimeSpecExportInfo[]Gets relevant exports.
exportsInfo.getRestoreProvidedData(): RestoreProvidedData
RestoreProvidedDataGets restore provided data.
exportsInfo.getUsageKey(runtime): string
RuntimeSpecstringReturns key representing the usage.
exportsInfo.getUsed(name, runtime): UsageStateType
Returns usage status.
exportsInfo.getUsedExports(runtime): boolean | SortableSet<string> | null
RuntimeSpecboolean | SortableSet<string> | nullReturns set of used exports, or true (when namespace object is used), or false (when unused), or null (when unknown).
exportsInfo.getUsedName(name, runtime): UsedName
Returns the used name.
exportsInfo.hasInlinedUsedName(name, runtime): boolean
Checks whether getUsedName(name, runtime) would return an InlinedUsedName,
without allocating intermediate used-name arrays (hot path for connection conditions).
exportsInfo.isEquallyUsed(runtimeA, runtimeB): boolean
Checks whether this exports info is equally used.
exportsInfo.isExportProvided(name): boolean | null | undefined
Checks whether this exports info is export provided.
exportsInfo.isModuleUsed(runtime): boolean
RuntimeSpecbooleanChecks whether this exports info is module used.
exportsInfo.isUsed(runtime): boolean
RuntimeSpecbooleanChecks whether this exports info is used.
exportsInfo.markInlinedExports(): void
Records that an owned export got an inlined used name.
exportsInfo.restoreProvided(__namedParameters): void
RestoreProvidedDataProcesses the provided data.
exportsInfo.setAllKnownExportsUsed(runtime): boolean
RuntimeSpecbooleanSets all known exports used.
exportsInfo.setHasProvideInfo(): void
exportsInfo.setHasUseInfo(): void
exportsInfo.setRedirectNamedTo(exportsInfo?): boolean
ExportsInfobooleanSets redirect named to.
exportsInfo.setUnknownExportsProvided(canMangle?, excludeExports?, targetKey?, targetModule?, priority?): boolean
booleanDependencyModuleGraphConnectionnumberbooleanSets unknown exports provided.
exportsInfo.setUsedForSideEffectsOnly(runtime): boolean
RuntimeSpecbooleanSets used for side effects only.
exportsInfo.setUsedInUnknownWay(runtime): boolean
RuntimeSpecbooleanSets used in unknown way.
exportsInfo.setUsedWithoutInfo(runtime): boolean
RuntimeSpecbooleanSets used without info.
exportsInfo.updateHash(hash, runtime): void
HashRuntimeSpecUpdates the hash with the data contributed by this instance.