MCPcopy
hub / github.com/webpack/webpack / index2

Method index2

lib/Module.js:407–413  ·  view source on GitHub ↗

* Returns the post-order index. * @deprecated * @returns {number | null} the post order index

()

Source from the content-addressed store, hash-verified

405 * @returns {number | null} the post order index
406 */
407 get index2() {
408 return ModuleGraph.getModuleGraphForModule(
409 this,
410 "Module.index2",
411 "DEP_WEBPACK_MODULE_INDEX2"
412 ).getPostOrderIndex(this);
413 }
414
415 /**
416 * Updates the post-order index using the provided value.

Callers

nothing calls this directly

Calls 3

getPostOrderIndexMethod · 0.80
setPostOrderIndexMethod · 0.80

Tested by

no test coverage detected