MCPcopy
hub / github.com/webpack/webpack / getState

Function getState

lib/optimize/InnerGraph.js:182–184  ·  view source on GitHub ↗

* @param {ParserState} parserState parser state * @returns {State | undefined} state

(parserState)

Source from the content-addressed store, hash-verified

180 * @returns {State | undefined} state
181 */
182 function getState(parserState) {
183 return states.get(parserState.module);
184 }
185
186 /**
187 * @param {ParserState} parserState parser state

Callers 5

addUsageFunction · 0.70
getTopLevelSymbolFunction · 0.70
setTopLevelSymbolFunction · 0.70
onUsageFunction · 0.70
tagTopLevelSymbolFunction · 0.70

Calls 1

getMethod · 0.45

Tested by

no test coverage detected