MCPcopy
hub / github.com/webpack/webpack / getModulePreOrderIndex

Method getModulePreOrderIndex

lib/ChunkGroup.js:646–648  ·  view source on GitHub ↗

* Returns the module's top-down traversal index within this group. * @param {Module} module the module * @returns {number | undefined} index

(module)

Source from the content-addressed store, hash-verified

644 * @returns {number | undefined} index
645 */
646 getModulePreOrderIndex(module) {
647 return this._modulePreOrderIndices.get(module);
648 }
649
650 /**
651 * Stores the module's bottom-up traversal index within this group.

Callers 3

processQueueFunction · 0.80
handlerFunction · 0.80
handlerFunction · 0.80

Calls 1

getMethod · 0.45

Tested by

no test coverage detected