MCPcopy Index your code
hub / github.com/prettier/prettier / ast-path.js

File ast-path.js

tests/unit/ast-path.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1/* eslint-disable prettier-internal-rules/no-useless-ast-path-callback-parameter */
2import AstPath from "../../src/common/ast-path.js";
3
4const error = new Error("A dummy error");

Callers

nothing calls this directly

Calls 7

throwErrorFunction · 0.85
callMethod · 0.80
getValueMethod · 0.80
callParentMethod · 0.80
eachMethod · 0.80
testFunction · 0.50
mapMethod · 0.45

Tested by

no test coverage detected