new ExportInfo(): ExportInfoReturns:
<ExportInfo>Attributes
canMangle:
<boolean>canMangleProvide:
<boolean>true: it can be mangled
false: is can not be mangled
undefined: it was not determined if it can be mangled
canMangleUse:
<boolean>true: it can be mangled
false: is can not be mangled
undefined: it was not determined if it can be mangled
exportsInfo:
<ExportsInfo>exportsInfoOwned:
<boolean>name:
<string>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
terminalBinding:
<boolean>is the export a terminal binding that should be checked for export star conflicts
createNestedExportsInfo(): ExportsInfoReturns:
<ExportsInfo>Creates a nested exports info.
findTarget(moduleGraph, validTargetModuleFilter): false | TargetItemWithoutConnection | null | undefinedAttributes
Returns the target, undefined when there is no target, false when no target is valid.
getNestedExportsInfo(): ExportsInfo | undefinedReturns:
<ExportsInfo>
|
<undefined>getProvidedInfo(): "provided" | "no provided info" | "maybe provided (runtime-defined)" | "not provided"Returns:
<"provided">
|
<"no provided info">
|
<"maybe provided (runtime-defined)">
|
<"not provided">getRenameInfo(): stringReturns:
<string>getTarget(moduleGraph, resolveTargetFilter?): TargetItemWithConnection | undefinedAttributes
moduleGraph:
<ModuleGraph>resolveTargetFilter:
<Function>Returns:
<TargetItemWithConnection>
|
<undefined>Returns the target.
getTerminalBinding(moduleGraph, resolveTargetFilter?): ExportsInfo | ExportInfo | undefinedAttributes
moduleGraph:
<ModuleGraph>resolveTargetFilter:
<Function>Returns:
<ExportsInfo>
|
<ExportInfo>
|
<undefined>Gets terminal binding.
getUsed(runtime): UsageStateTypeAttributes
runtime:
<RuntimeSpec>Returns:
<UsageStateType>Returns usage state.
getUsedInfo(): stringReturns:
<string>getUsedName(fallbackName, runtime): string | falseAttributes
Returns used name.
hasInfo(baseInfo, runtime): booleanAttributes
Checks whether this export info contains the base info.
hasUsedName(): booleanReturns:
<boolean>Checks whether this export info has used name.
isReexport(): boolean | undefinedReturns:
<boolean>
|
<undefined>moveTarget(moduleGraph, resolveTargetFilter, updateOriginalConnection?): TargetItemWithConnection | undefinedAttributes
moduleGraph:
<ModuleGraph>resolveTargetFilter:
<Function>updateOriginalConnection:
<Function>Returns:
<TargetItemWithConnection>
|
<undefined>Move the target forward as long resolveTargetFilter is fulfilled
setHasProvideInfo(): voidReturns:
<void>setHasUseInfo(): voidReturns:
<void>setTarget(key, connection, exportName?, priority?): booleanAttributes
Updates target using the provided key.
setUsed(newValue, runtime): booleanAttributes
Updates used using the provided new value.
setUsedConditionally(condition, newValue, runtime): booleanAttributes
Sets used conditionally.
setUsedInUnknownWay(runtime): booleanAttributes
runtime:
<RuntimeSpec>Returns:
<boolean>Sets used in unknown way.
setUsedName(name): voidAttributes
Updates used name using the provided name.
setUsedWithoutInfo(runtime): booleanAttributes
runtime:
<RuntimeSpec>Returns:
<boolean>Sets used without info.
unsetTarget(key): booleanAttributes
key:
<Dependency>Returns:
<boolean>Returns true, if something has changed.
updateHash(hash, runtime): voidAttributes
Updates the hash with the data contributed by this instance.
Attributes
Attributes