| | |
| | | /** @typedef {import("../util/runtime").RuntimeSpec} RuntimeSpec */ |
| | | |
| | | /** |
| | | * Defines the sortable set type used by this module. |
| | | * @template T |
| | | * @typedef {import("../util/SortableSet")<T>} SortableSet |
| | | */ |
| | | |
| | | /** |
| | | * Returns value of the property. |
| | | * @param {ModuleGraph} moduleGraph the module graph |
| | | * @param {Module} module the module |
| | | * @param {ExportInfoName[] | null} exportName_ name of the export if any |
| | |
| | | |
| | | class ExportsInfoDependency extends NullDependency { |
| | | /** |
| | | * Creates an instance of ExportsInfoDependency. |
| | | * @param {Range} range range |
| | | * @param {ExportInfoName[] | null} exportName export name |
| | | * @param {string | null} property property |
| | |
| | | } |
| | | |
| | | /** |
| | | * Serializes this instance into the provided serializer context. |
| | | * @param {ObjectSerializerContext} context context |
| | | */ |
| | | serialize(context) { |
| | |
| | | } |
| | | |
| | | /** |
| | | * Restores this instance from the provided deserializer context. |
| | | * @param {ObjectDeserializerContext} context context |
| | | * @returns {ExportsInfoDependency} ExportsInfoDependency |
| | | */ |
| | |
| | | NullDependency.Template |
| | | ) { |
| | | /** |
| | | * Applies the plugin by registering its hooks on the compiler. |
| | | * @param {Dependency} dependency the dependency for which the template should be applied |
| | | * @param {ReplaceSource} source the current replace source which can be modified |
| | | * @param {DependencyTemplateContext} templateContext the context object |