new ExportInfo(): ExportInfoReturns:
ExportInfoAttributes
canMangle:
booleancanMangleProvide:
booleantrue: it can be mangled
false: is can not be mangled
undefined: it was not determined if it can be mangled
canMangleUse:
booleantrue: it can be mangled
false: is can not be mangled
undefined: it was not determined if it can be mangled
exportsInfo:
ExportsInfoexportsInfoOwned:
booleanname:
stringprovided:
boolean | nulltrue: 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
terminalBinding:
booleanis the export a terminal binding that should be checked for export star conflicts
createNestedExportsInfo(): ExportsInfoReturns:
ExportsInfoCreates a nested exports info.
findTarget(moduleGraph, validTargetModuleFilter): false | TargetItemWithoutConnection | null | undefinedAttributes
moduleGraph:
ModuleGraphReturns:
false | TargetItemWithoutConnection | null | undefinedReturns the target, undefined when there is no target, false when no target is valid.
getNestedExportsInfo(): ExportsInfo | undefinedReturns:
ExportsInfo | undefinedgetProvidedInfo(): "provided" | "no provided info" | "maybe provided (runtime-defined)" | "not provided"Returns:
"provided" | "no provided info" | "maybe provided (runtime-defined)" | "not provided"getRenameInfo(): stringReturns:
stringgetTarget(moduleGraph, resolveTargetFilter?): TargetItemWithConnection | undefinedAttributes
moduleGraph:
ModuleGraphresolveTargetFilter:
(target: TargetItemWithConnection) => booleanReturns:
TargetItemWithConnection | undefinedReturns the target.
getTerminalBinding(moduleGraph, resolveTargetFilter?): ExportsInfo | ExportInfo | undefinedAttributes
moduleGraph:
ModuleGraphresolveTargetFilter:
(target: TargetItemWithConnection) => booleanReturns:
ExportsInfo | ExportInfo | undefinedGets terminal binding.
getUsed(runtime): UsageStateTypeAttributes
runtime:
RuntimeSpecReturns:
UsageStateTypeReturns usage state.
getUsedInfo(): stringReturns:
stringgetUsedName(fallbackName, runtime): string | falseAttributes
Returns used name.
hasInfo(baseInfo, runtime): booleanAttributes
Checks whether this export info contains the base info.
hasUsedName(): booleanReturns:
booleanChecks whether this export info has used name.
isReexport(): boolean | undefinedmoveTarget(moduleGraph, resolveTargetFilter, updateOriginalConnection?): TargetItemWithConnection | undefinedAttributes
moduleGraph:
ModuleGraphresolveTargetFilter:
(target: TargetItemWithConnection) => booleanupdateOriginalConnection:
(target: TargetItemWithConnection) => ModuleGraphConnectionReturns:
TargetItemWithConnection | undefinedMove the target forward as long resolveTargetFilter is fulfilled
setHasProvideInfo(): voidReturns:
voidsetHasUseInfo(): voidReturns:
voidsetTarget(key, connection, exportName?, priority?): booleanAttributes
key:
Dependencyconnection:
ModuleGraphConnectionexportName:
string[] | nullpriority:
numberReturns:
booleanUpdates target using the provided key.
setUsed(newValue, runtime): booleanAttributes
Updates used using the provided new value.
setUsedConditionally(condition, newValue, runtime): booleanAttributes
condition:
(condition: UsageStateType) => booleannewValue:
UsageStateTyperuntime:
RuntimeSpecReturns:
booleanSets used conditionally.
setUsedInUnknownWay(runtime): booleanAttributes
runtime:
RuntimeSpecReturns:
booleanSets used in unknown way.
setUsedName(name): voidAttributes
Updates used name using the provided name.
setUsedWithoutInfo(runtime): booleanAttributes
runtime:
RuntimeSpecReturns:
booleanSets used without info.
unsetTarget(key): booleanAttributes
key:
DependencyReturns:
booleanReturns true, if something has changed.
updateHash(hash, runtime): voidAttributes
Updates the hash with the data contributed by this instance.
Attributes
Attributes