new ExportInfo(): ExportInfo
ExportInfoInlinedValuedefined: the export binds to a small primitive constant and may be inlined undefined: not an inlined constant export
Source Code: lib/ExportsInfo.js#L1149booleantrue: 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#L1088booleantrue: 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#L1103booleantrue: 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#L1113ExportsInfobooleanstringtrue: 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#L1172booleanOnly 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#L1081booleanis the export a terminal binding that should be checked for export star conflicts
Source Code: lib/ExportsInfo.js#L1181booleanexportInfo.canInline(): InlinedValue | undefined
InlinedValue | undefinedexportInfo.createNestedExportsInfo(): ExportsInfo
ExportsInfoCreates a nested exports info.
exportInfo.findTarget(moduleGraph, validTargetModuleFilter): false | TargetItemWithoutConnection | null | undefined
ModuleGraphfalse | TargetItemWithoutConnection | null | undefinedReturns the target, undefined when there is no target, false when no target is valid.
exportInfo.getNestedExportsInfo(): ExportsInfo | undefined
ExportsInfo | undefinedexportInfo.getProvidedInfo(): "provided" | "no provided info" | "maybe provided (runtime-defined)" | "not provided"
"provided" | "no provided info" | "maybe provided (runtime-defined)" | "not provided"exportInfo.getRenameInfo(): string
stringexportInfo.getTarget(moduleGraph, resolveTargetFilter?): TargetItemWithConnection | undefined
ModuleGraph(target: TargetItemWithConnection) => booleanTargetItemWithConnection | undefinedReturns the target.
exportInfo.getTerminalBinding(moduleGraph, resolveTargetFilter?): ExportsInfo | ExportInfo | undefined
ModuleGraph(target: TargetItemWithConnection) => booleanExportsInfo | ExportInfo | undefinedGets terminal binding.
exportInfo.getUsed(runtime): UsageStateType
RuntimeSpecUsageStateTypeReturns usage state.
exportInfo.getUsedInfo(): string
stringexportInfo.getUsedName(fallbackName, runtime): string | false | InlinedUsedName
Returns used name. May return InlinedUsedName when the export is inlined to a primitive.
exportInfo.hasInfo(baseInfo, runtime): boolean
Checks whether this export info contains the base info.
exportInfo.hasUsedName(): boolean
booleanChecks whether this export info has used name.
exportInfo.isReexport(): boolean | undefined
exportInfo.moveTarget(moduleGraph, resolveTargetFilter, updateOriginalConnection?): TargetItemWithConnection | undefined
ModuleGraph(target: TargetItemWithConnection) => boolean(target: TargetItemWithConnection) => ModuleGraphConnection | undefinedTargetItemWithConnection | undefinedMove the target forward as long resolveTargetFilter is fulfilled
exportInfo.setHasProvideInfo(): void
exportInfo.setHasUseInfo(): void
exportInfo.setTarget(key, connection, exportName?, priority?): boolean
Updates target using the provided key.
exportInfo.setUsed(newValue, runtime): boolean
Updates used using the provided new value.
exportInfo.setUsedConditionally(condition, newValue, runtime): boolean
(condition: UsageStateType) => booleanUsageStateTypeRuntimeSpecbooleanSets used conditionally.
exportInfo.setUsedInUnknownWay(runtime): boolean
RuntimeSpecbooleanSets used in unknown way.
exportInfo.setUsedName(name): void
string | InlinedUsedNameUpdates used name using the provided name.
exportInfo.setUsedWithoutInfo(runtime): boolean
RuntimeSpecbooleanSets used without info.
exportInfo.unsetTarget(key): boolean
DependencybooleanReturns true, if something has changed.
exportInfo.updateHash(hash, runtime): void
HashRuntimeSpecUpdates the hash with the data contributed by this instance.