Class ExportsInfoAbstract
Accessors
orderedExports
- get orderedExports(): Iterable<ExportInfo>
-
orderedOwnedExports
- get orderedOwnedExports(): Iterable<ExportInfo>
-
otherExportsInfo
- get otherExportsInfo(): ExportInfo
-
Methods
getExportInfo
- getExportInfo(name): ExportInfo
-
getNestedExportsInfo
- getNestedExportsInfo(name?): undefined | ExportsInfo
-
getOwnExportInfo
- getOwnExportInfo(name): ExportInfo
-
getProvidedExports
- getProvidedExports(): null | true | string[]
-
Returns null | true | string[]
getReadOnlyExportInfo
- getReadOnlyExportInfo(name): ExportInfo
-
getReadOnlyExportInfoRecursive
- getReadOnlyExportInfoRecursive(name): undefined | ExportInfo
-
getRelevantExports
- getRelevantExports(runtime): ExportInfo[]
-
getRestoreProvidedData
- getRestoreProvidedData(): any
-
Returns any
getUsageKey
- getUsageKey(runtime): string
-
Returns string
getUsed
- getUsed(name, runtime): UsageStateType
-
getUsedExports
- getUsedExports(runtime): null | boolean | SortableSet<string>
-
Returns null | boolean | SortableSet<string>
getUsedName
- getUsedName(name, runtime): string | false | string[]
-
Returns string | false | string[]
isEquallyUsed
- isEquallyUsed(runtimeA, runtimeB): boolean
-
Returns boolean
isExportProvided
- isExportProvided(name): undefined | null | boolean
-
Returns undefined | null | boolean
isModuleUsed
- isModuleUsed(runtime): boolean
-
Returns boolean
isUsed
- isUsed(runtime): boolean
-
Returns boolean
restoreProvided
- restoreProvided(__namedParameters): void
-
Parameters
-
__namedParameters: {
exports: any;
otherCanMangleProvide: any;
otherProvided: any;
otherTerminalBinding: any;
}
-
exports: any
-
otherCanMangleProvide: any
-
otherProvided: any
-
otherTerminalBinding: any
Returns void
setAllKnownExportsUsed
- setAllKnownExportsUsed(runtime): boolean
-
Returns boolean
setHasProvideInfo
- setHasProvideInfo(): void
-
Returns void
setHasUseInfo
- setHasUseInfo(): void
-
Returns void
setRedirectNamedTo
- setRedirectNamedTo(exportsInfo?): boolean
-
Parameters
-
Optional
exportsInfo: any
Returns boolean
setUnknownExportsProvided
- setUnknownExportsProvided(canMangle?, excludeExports?, targetKey?, targetModule?, priority?): boolean
-
Parameters
-
Optional
canMangle: boolean
-
Optional
excludeExports: Set<string>
-
Optional
targetKey: any
-
-
Optional
priority: number
Returns boolean
setUsedForSideEffectsOnly
- setUsedForSideEffectsOnly(runtime): boolean
-
Returns boolean
setUsedInUnknownWay
- setUsedInUnknownWay(runtime): boolean
-
Returns boolean
setUsedWithoutInfo
- setUsedWithoutInfo(runtime): boolean
-
Returns boolean
updateHash
- updateHash(hash, runtime): void
-
Returns void