MCPcopy
hub / github.com/webpack/webpack / getPreOrderIndex

Method getPreOrderIndex

lib/ModuleGraph.js:794–797  ·  view source on GitHub ↗

* Gets pre order index. * @param {Module} module the module * @returns {number | null} the index of the module

(module)

Source from the content-addressed store, hash-verified

792 * @returns {number | null} the index of the module
793 */
794 getPreOrderIndex(module) {
795 const mgm = this._getModuleGraphModule(module);
796 return mgm.preOrderIndex;
797 }
798
799 /**
800 * Gets post order index.

Callers 4

indexMethod · 0.80
handlerFunction · 0.80

Calls 1

_getModuleGraphModuleMethod · 0.95

Tested by

no test coverage detected