On this page

Source Code: lib/ExportsInfo.js#L1035
new ExportInfo(): ExportInfo
Returns:ExportInfo
Source Code: lib/ExportsInfo.js#L1135

defined: the export binds to a small primitive constant and may be inlined undefined: not an inlined constant export

Source Code: lib/ExportsInfo.js#L1149
Type:boolean

true: at least one consumer accepts inlining, none rejected false: at least one consumer rejected inlining undefined: collecting; no consumer has decided yet

Source Code: lib/ExportsInfo.js#L1088
Type:boolean

true: it can be mangled false: is can not be mangled undefined: it was not determined if it can be mangled

Source Code: lib/ExportsInfo.js#L1103
Type:boolean

true: it can be mangled false: is can not be mangled undefined: it was not determined if it can be mangled

Source Code: lib/ExportsInfo.js#L1113
Source Code: lib/ExportsInfo.js#L1111
Type:boolean
Source Code: lib/ExportsInfo.js#L1043
Type:string
Source Code: lib/ExportsInfo.js#L1076
Type:boolean | null

true: it is provided false: it is not provided null: only the runtime knows if it is provided undefined: it was not determined if it is provided

Source Code: lib/ExportsInfo.js#L1172
Type:boolean

Only specific export info can be pure, so other_export_info.pure is always undefined. true: calling the export has no observable side effects undefined: it was not determined whether the export is pure

Source Code: lib/ExportsInfo.js#L1081
Type:boolean

is the export a terminal binding that should be checked for export star conflicts

Source Code: lib/ExportsInfo.js#L1181
Type:boolean
exportInfo.canInline(): InlinedValue | undefined
Source Code: lib/ExportsInfo.js#L1205
exportInfo.createNestedExportsInfo(): ExportsInfo
Source Code: lib/ExportsInfo.js#L1807
Returns:ExportsInfo

Creates a nested exports info.

exportInfo.findTarget(moduleGraph, validTargetModuleFilter): false | TargetItemWithoutConnection | null | undefined
Source Code: lib/ExportsInfo.js#L1593
Attributes
moduleGraph:ModuleGraph
validTargetModuleFilter:(module: Module) => boolean

Returns the target, undefined when there is no target, false when no target is valid.

exportInfo.getNestedExportsInfo(): ExportsInfo | undefined
Source Code: lib/ExportsInfo.js#L1821
exportInfo.getProvidedInfo(): "provided" | "no provided info" | "maybe provided (runtime-defined)" | "not provided"
Source Code: lib/ExportsInfo.js#L1913
Returns:"provided" | "no provided info" | "maybe provided (runtime-defined)" | "not provided"
exportInfo.getRenameInfo(): string
Source Code: lib/ExportsInfo.js#L1926
Returns:string
exportInfo.getTarget(moduleGraph, resolveTargetFilter?): TargetItemWithConnection | undefined
Source Code: lib/ExportsInfo.js#L1658
Attributes
moduleGraph:ModuleGraph
resolveTargetFilter:(target: TargetItemWithConnection) => boolean

Returns the target.

exportInfo.getTerminalBinding(moduleGraph, resolveTargetFilter?): ExportsInfo | ExportInfo | undefined
Source Code: lib/ExportsInfo.js#L1548
Attributes
moduleGraph:ModuleGraph
resolveTargetFilter:(target: TargetItemWithConnection) => boolean

Gets terminal binding.

exportInfo.getUsed(runtime): UsageStateType
Source Code: lib/ExportsInfo.js#L1457
Attributes

Returns usage state.

exportInfo.getUsedInfo(): string
Source Code: lib/ExportsInfo.js#L1871
Returns:string
exportInfo.getUsedName(fallbackName, runtime): string | false | InlinedUsedName
Source Code: lib/ExportsInfo.js#L1497
Attributes
fallbackName:string | undefined
runtime:RuntimeSpec
Returns:string | false | InlinedUsedName

Returns used name. May return InlinedUsedName when the export is inlined to a primitive.

exportInfo.hasInfo(baseInfo, runtime): boolean
Source Code: lib/ExportsInfo.js#L1831
Attributes
baseInfo:ExportInfo
runtime:RuntimeSpec
Returns:boolean

Checks whether this export info contains the base info.

exportInfo.hasUsedName(): boolean
Source Code: lib/ExportsInfo.js#L1529
Returns:boolean

Checks whether this export info has used name.

exportInfo.isReexport(): boolean | undefined
Source Code: lib/ExportsInfo.js#L1557
Returns:boolean | undefined
exportInfo.moveTarget(moduleGraph, resolveTargetFilter, updateOriginalConnection?): TargetItemWithConnection | undefined
Source Code: lib/ExportsInfo.js#L1772
Attributes
moduleGraph:ModuleGraph
resolveTargetFilter:(target: TargetItemWithConnection) => boolean
updateOriginalConnection:(target: TargetItemWithConnection) => ModuleGraphConnection | undefined

Move the target forward as long resolveTargetFilter is fulfilled

exportInfo.setHasProvideInfo(): void
Source Code: lib/ExportsInfo.js#L1259
exportInfo.setHasUseInfo(): void
Source Code: lib/ExportsInfo.js#L1268
exportInfo.setTarget(key, connection, exportName?, priority?): boolean
Source Code: lib/ExportsInfo.js#L1406
Attributes
exportName:string[] | null
priority:number
Returns:boolean

Updates target using the provided key.

exportInfo.setUsed(newValue, runtime): boolean
Source Code: lib/ExportsInfo.js#L1341
Attributes
runtime:RuntimeSpec
Returns:boolean

Updates used using the provided new value.

exportInfo.setUsedConditionally(condition, newValue, runtime): boolean
Source Code: lib/ExportsInfo.js#L1288
Attributes
condition:(condition: UsageStateType) => boolean
runtime:RuntimeSpec
Returns:boolean

Sets used conditionally.

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

Sets used in unknown way.

exportInfo.setUsedName(name): void
Source Code: lib/ExportsInfo.js#L1538
Attributes

Updates used name using the provided name.

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

Sets used without info.

exportInfo.unsetTarget(key): boolean
Source Code: lib/ExportsInfo.js#L1389
Attributes
Returns:boolean

Returns true, if something has changed.

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

Updates the hash with the data contributed by this instance.