| | |
| | | |
| | | class AMDRequireArrayDependency extends NullDependency { |
| | | /** |
| | | * Creates an instance of AMDRequireArrayDependency. |
| | | * @param {(string | LocalModuleDependency | AMDRequireItemDependency)[]} depsArray deps array |
| | | * @param {Range} range range |
| | | */ |
| | |
| | | } |
| | | |
| | | /** |
| | | * 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 |
| | | */ |
| | | deserialize(context) { |
| | |
| | | DependencyTemplate |
| | | ) { |
| | | /** |
| | | * 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 |
| | |
| | | } |
| | | |
| | | /** |
| | | * Returns content. |
| | | * @param {AMDRequireArrayDependency} dep the dependency for which the template should be applied |
| | | * @param {DependencyTemplateContext} templateContext the context object |
| | | * @returns {string} content |
| | |
| | | } |
| | | |
| | | /** |
| | | * Content for dependency. |
| | | * @param {string | LocalModuleDependency | AMDRequireItemDependency} dep the dependency for which the template should be applied |
| | | * @param {DependencyTemplateContext} templateContext the context object |
| | | * @returns {string} content |