MCPcopy Index your code
hub / github.com/nodejs/node / getReportName

Function getReportName

tools/eslint-rules/prefer-primordials.js:35–43  ·  view source on GitHub ↗
({ name, parentName, into })

Source from the content-addressed store, hash-verified

33}
34
35function getReportName({ name, parentName, into }) {
36 if (into) {
37 return toPrimordialsName(into, name);
38 }
39 if (parentName) {
40 return toPrimordialsName(parentName, name);
41 }
42 return name;
43}
44
45/**
46 * Get identifier of object spread assignment

Callers 1

[identifierSelector]Function · 0.85

Calls 1

toPrimordialsNameFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…