MCPcopy
hub / github.com/webpack/webpack / getPostOrderIndex

Method getPostOrderIndex

lib/ModuleGraph.js:804–807  ·  view source on GitHub ↗

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

(module)

Source from the content-addressed store, hash-verified

802 * @returns {number | null} the index of the module
803 */
804 getPostOrderIndex(module) {
805 const mgm = this._getModuleGraphModule(module);
806 return mgm.postOrderIndex;
807 }
808
809 /**
810 * Sets pre order index.

Callers 4

index2Method · 0.80
handlerFunction · 0.80

Calls 1

_getModuleGraphModuleMethod · 0.95

Tested by

no test coverage detected