new ExportInfo(): ExportInfoReturns:
ExportInfoAttributes
canInlineProvide:
InlinedValuedefined: the export binds to a small primitive constant and may be inlined
undefined: not an inlined constant export
canInlineUse:
booleantrue: at least one consumer accepts inlining, none rejected
false: at least one consumer rejected inlining
undefined: collecting; no consumer has decided yet
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
pureProvide:
booleanOnly 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
terminalBinding:
booleanis the export a terminal binding that should be checked for export star conflicts
canInline(): InlinedValue | undefinedReturns:
InlinedValue | undefinedcreateNestedExportsInfo(): 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 | false | InlinedUsedNameAttributes
Returns used name. May return InlinedUsedName when the export is inlined to a primitive.
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) => ModuleGraphConnection | undefinedReturns:
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
name:
string | InlinedUsedNameReturns:
voidUpdates 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