On this page

Source Code: lib/ExportsInfo.js#L146
new ExportsInfo(): ExportsInfo
Returns:ExportsInfo
Source Code: lib/ExportsInfo.js#L209

Returns all exports in any order.

Source Code: lib/ExportsInfo.js#L224

Gets ordered exports.

Source Code: lib/ExportsInfo.js#L198

Gets ordered owned exports.

Source Code: lib/ExportsInfo.js#L248

Gets other exports info.

Source Code: lib/ExportsInfo.js#L190

Gets owned exports.

exportsInfo.getExportInfo(name): ExportInfo
Source Code: lib/ExportsInfo.js#L341
Attributes
name:string
Returns:ExportInfo

Returns export info for this name.

exportsInfo.getNestedExportsInfo(name?): ExportsInfo | undefined
Source Code: lib/ExportsInfo.js#L389
Attributes
name:string[]

Gets nested exports info.

exportsInfo.getOwnExportInfo(name): ExportInfo
Source Code: lib/ExportsInfo.js#L327
Attributes
name:string
Returns:ExportInfo

Gets own export info.

exportsInfo.getProvidedExports(): true | string[] | null
Source Code: lib/ExportsInfo.js#L643
Returns:true | string[] | null

Gets provided exports.

exportsInfo.getReadOnlyExportInfo(name): ExportInfo
Source Code: lib/ExportsInfo.js#L358
Attributes
name:string
Returns:ExportInfo

Gets read only export info.

exportsInfo.getReadOnlyExportInfoRecursive(name): ExportInfo | undefined
Source Code: lib/ExportsInfo.js#L372
Attributes
name:string[]

Gets read only export info recursive.

exportsInfo.getRelevantExports(runtime): ExportInfo[]
Source Code: lib/ExportsInfo.js#L684
Attributes
runtime:RuntimeSpec
Returns:ExportInfo[]

Gets relevant exports.

exportsInfo.getRestoreProvidedData(): RestoreProvidedData
Source Code: lib/ExportsInfo.js#L946

Gets restore provided data.

exportsInfo.getUsageKey(runtime): string
Source Code: lib/ExportsInfo.js#L735
Attributes
runtime:RuntimeSpec
Returns:string

Returns key representing the usage.

exportsInfo.getUsed(name, runtime): UsageStateType
Source Code: lib/ExportsInfo.js#L785
Attributes
name:string | string[]
runtime:RuntimeSpec

Returns usage status.

exportsInfo.getUsedExports(runtime): boolean | SortableSet<string> | null
Source Code: lib/ExportsInfo.js#L594
Attributes

Returns set of used exports, or true (when namespace object is used), or false (when unused), or null (when unknown).

exportsInfo.getUsedName(name, runtime): UsedName
Source Code: lib/ExportsInfo.js#L808
Attributes
name:string | string[]
runtime:RuntimeSpec
Returns:UsedName

Returns the used name.

exportsInfo.hasInlinedUsedName(name, runtime): boolean
Source Code: lib/ExportsInfo.js#L864
Attributes
name:string[]
runtime:RuntimeSpec
Returns: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
Source Code: lib/ExportsInfo.js#L756
Attributes
runtimeA:RuntimeSpec
runtimeB:RuntimeSpec
Returns:boolean

Checks whether this exports info is equally used.

exportsInfo.isExportProvided(name): boolean | null | undefined
Source Code: lib/ExportsInfo.js#L712
Attributes
name:string | string[]
Returns:boolean | null | undefined

Checks whether this exports info is export provided.

exportsInfo.isModuleUsed(runtime): boolean
Source Code: lib/ExportsInfo.js#L581
Attributes
runtime:RuntimeSpec
Returns:boolean

Checks whether this exports info is module used.

exportsInfo.isUsed(runtime): boolean
Source Code: lib/ExportsInfo.js#L560
Attributes
runtime:RuntimeSpec
Returns:boolean

Checks whether this exports info is used.

exportsInfo.markInlinedExports(): void
Source Code: lib/ExportsInfo.js#L182

Records that an owned export got an inlined used name.

exportsInfo.restoreProvided(__namedParameters): void
Source Code: lib/ExportsInfo.js#L1003
Attributes
__namedParameters:RestoreProvidedData

Processes the provided data.

exportsInfo.setAllKnownExportsUsed(runtime): boolean
Source Code: lib/ExportsInfo.js#L531
Attributes
runtime:RuntimeSpec
Returns:boolean

Sets all known exports used.

exportsInfo.setHasProvideInfo(): void
Source Code: lib/ExportsInfo.js#L299
exportsInfo.setHasUseInfo(): void
Source Code: lib/ExportsInfo.js#L310
exportsInfo.setRedirectNamedTo(exportsInfo?): boolean
Source Code: lib/ExportsInfo.js#L293
Attributes
exportsInfo:ExportsInfo
Returns:boolean

Sets redirect named to.

exportsInfo.setUnknownExportsProvided(canMangle?, excludeExports?, targetKey?, targetModule?, priority?): boolean
Source Code: lib/ExportsInfo.js#L412
Attributes
canMangle:boolean
excludeExports:Set<string>
targetKey:Dependency
priority:number
Returns:boolean

Sets unknown exports provided.

exportsInfo.setUsedForSideEffectsOnly(runtime): boolean
Source Code: lib/ExportsInfo.js#L547
Attributes
runtime:RuntimeSpec
Returns:boolean

Sets used for side effects only.

exportsInfo.setUsedInUnknownWay(runtime): boolean
Source Code: lib/ExportsInfo.js#L487
Attributes
runtime:RuntimeSpec
Returns:boolean

Sets used in unknown way.

exportsInfo.setUsedWithoutInfo(runtime): boolean
Source Code: lib/ExportsInfo.js#L509
Attributes
runtime:RuntimeSpec
Returns:boolean

Sets used without info.

exportsInfo.updateHash(hash, runtime): void
Source Code: lib/ExportsInfo.js#L907
Attributes
hash:Hash
runtime:RuntimeSpec

Updates the hash with the data contributed by this instance.