On this page

new ConcatenationScope(modulesMap, currentModule, usedNames): void
  • modulesMap {ModuleInfo[]|Map<Module, ModuleInfo>} all module info by module
  • currentModule {ConcatenatedModuleInfo} the current module info
  • usedNames {Set} all used names
  • Returns: <ConcatenationScope>
webpack.ConcatenationScope.createModuleReference(module, __namedParameters): string
Attributes
module:<Module>
the referenced module
__namedParameters:
{Partial }
Returns:<string>
the reference as identifier

webpack.ConcatenationScope.getRawExport(exportName): string
Attributes
exportName:<string>
name of the export
Returns:<string>
the expression of the export

webpack.ConcatenationScope.isModuleInScope(module): boolean
Attributes
module:<Module>
the referenced module
Returns:<boolean>
true, when it's in the scope

webpack.ConcatenationScope.registerExport(exportName, symbol): void
Attributes
exportName:<string>
name of the export
symbol:<string>
identifier of the export in source code
Returns:
{void}

webpack.ConcatenationScope.registerNamespaceExport(symbol): void
Attributes
symbol:<string>
identifier of the export in source code
Returns:
{void}

webpack.ConcatenationScope.registerRawExport(exportName, expression): void
Attributes
exportName:<string>
name of the export
expression:<string>
expression to be used
Returns:
{void}

webpack.ConcatenationScope.setRawExportMap(exportName, expression): void
Attributes
exportName:<string>
name of the export
expression:<string>
expression to be used
Returns:
{void}

webpack.ConcatenationScope.isModuleReference(name): boolean
Attributes
the identifier
Returns:<boolean>
true, when it's an module reference

webpack.ConcatenationScope.matchModuleReference(name): object
Attributes
the identifier
Returns:<object>
parsed options and index