* Processes the provided dependencies block. * @param {NormalModule} module the module to generate * @param {import("../DependenciesBlock")} block the dependencies block which will be processed * @param {InitFragment<GenerateContext>[]} initFragments mutable list of init fragments * @param {
(module, block, initFragments, source, generateContext)
| 302 | * @returns {void} |
| 303 | */ |
| 304 | sourceBlock(module, block, initFragments, source, generateContext) { |
| 305 | for (const dependency of block.dependencies) { |
| 306 | this.sourceDependency( |
| 307 | module, |
| 308 | dependency, |
| 309 | initFragments, |
| 310 | source, |
| 311 | generateContext |
| 312 | ); |
| 313 | } |
| 314 | |
| 315 | for (const childBlock of block.blocks) { |
| 316 | this.sourceBlock( |
| 317 | module, |
| 318 | childBlock, |
| 319 | initFragments, |
| 320 | source, |
| 321 | generateContext |
| 322 | ); |
| 323 | } |
| 324 | } |
| 325 | |
| 326 | /** |
| 327 | * Processes the provided module. |
no test coverage detected