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>
createModuleReference(module, __namedParameters): string
Attributes
module:<Module>
the referenced module
__namedParameters:
{Partial }
Returns:<string>
the reference as identifier

getRawExport(exportName): string | undefined
Attributes
exportName:<string>
name of the export
the expression of the export

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

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

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

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

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

Attributes
the identifier
Returns:<boolean>
true, when it's an module reference

Attributes
the identifier
Returns:<object> | <null>
parsed options and index