Code
Hub
Trending
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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 */
2
import
AstPath from
"../../src/common/ast-path.js"
;
3
4
const
error =
new
Error(
"A dummy error"
);
Callers
nothing calls this directly
Calls
7
throwError
Function · 0.85
call
Method · 0.80
getValue
Method · 0.80
callParent
Method · 0.80
each
Method · 0.80
test
Function · 0.50
map
Method · 0.45
Tested by
no test coverage detected