MCPcopy
hub / github.com/webpack/webpack / setModulePreOrderIndex

Method setModulePreOrderIndex

lib/ChunkGroup.js:637–639  ·  view source on GitHub ↗

* Stores the module's top-down traversal index within this group. * @param {Module} module module for which the index should be set * @param {number} index the index of the module * @returns {void}

(module, index)

Source from the content-addressed store, hash-verified

635 * @returns {void}
636 */
637 setModulePreOrderIndex(module, index) {
638 this._modulePreOrderIndices.set(module, index);
639 }
640
641 /**
642 * Returns the module's top-down traversal index within this group.

Callers 2

processQueueFunction · 0.80
processFunction · 0.80

Calls 1

setMethod · 0.45

Tested by

no test coverage detected