new ConcatenationScope(modulesMap, currentModule, usedNames): voidmodulesMap{ModuleInfo[]|Map< Module, ModuleInfo >}currentModule<ConcatenatedModuleInfo>usedNames{Set< string >}- Returns:
<ConcatenationScope>
Creates the mutable scope object used while rendering a concatenated module and its cross-module references.
createModuleReference(module, __namedParameters): string<Module><string>Encodes a reference to another concatenated module as a placeholder identifier that can be parsed later during code generation.
getRawExport(exportName): string | undefined<string><string>
|
<undefined>Returns the raw expression registered for an export, if one exists.
isModuleInScope(module): boolean<Module><boolean>Checks whether a module participates in the current concatenation scope.
registerExport(exportName, symbol): voidRecords the symbol that should be used when the current module exports a named binding.
registerNamespaceExport(symbol): void<string>Records the symbol that should be used for the synthetic namespace export.
registerRawExport(exportName, expression): voidRecords a raw expression that can be used to reference an export without going through the normal symbol map.
setRawExportMap(exportName, expression): voidReplaces the raw expression for an export only when that export already has an entry in the raw export map.
<string><boolean>Checks whether an identifier is one of webpack's encoded concatenation module references.
<string><ModuleReferenceOptions>
|
<object>
|
<null>Parses an encoded module reference back into its module index and reference flags.