MCPcopy
hub / github.com/eslint/eslint / getState

Method getState

lib/linter/code-path-analysis/code-path.js:74–76  ·  view source on GitHub ↗

* Gets the state of a given code path. * @param {CodePath} codePath A code path to get. * @returns {CodePathState} The state of the code path.

(codePath)

Source from the content-addressed store, hash-verified

72 * @returns {CodePathState} The state of the code path.
73 */
74 static getState(codePath) {
75 return codePath.internal;
76 }
77
78 /**
79 * The initial code path segment. This is the segment that is at the head

Callers 8

forwardCurrentToHeadFunction · 0.80
leaveFromCurrentSegmentFunction · 0.80
preprocessFunction · 0.80
processCodePathToEnterFunction · 0.80
startCodePathFunction · 0.80
processCodePathToExitFunction · 0.80
endCodePathFunction · 0.80
postprocessFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected