MCPcopy
hub / github.com/eslint/eslint / forkPath

Method forkPath

lib/linter/code-path-analysis/code-path-state.js:1030–1032  ·  view source on GitHub ↗

* Creates a new path. * @returns {void}

()

Source from the content-addressed store, hash-verified

1028 * @returns {void}
1029 */
1030 forkPath() {
1031 this.forkContext.add(this.parentForkContext.makeNext(-1, -1));
1032 }
1033
1034 /**
1035 * Creates a bypass path.

Callers 2

preprocessFunction · 0.80
processCodePathToEnterFunction · 0.80

Calls 2

makeNextMethod · 0.80
addMethod · 0.45

Tested by

no test coverage detected