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

Function formatSymbol

test/fixtures/snapshot/typescript.js:2831–2833  ·  view source on GitHub ↗
(symbol)

Source from the content-addressed store, hash-verified

2829 }
2830 Debug.getFunctionName = getFunctionName;
2831 function formatSymbol(symbol) {
2832 return "{ name: ".concat(ts.unescapeLeadingUnderscores(symbol.escapedName), "; flags: ").concat(formatSymbolFlags(symbol.flags), "; declarations: ").concat(ts.map(symbol.declarations, function (node) { return formatSyntaxKind(node.kind); }), " }");
2833 }
2834 Debug.formatSymbol = formatSymbol;
2835 /**
2836 * Formats an enum value as a string for debugging and debug assertions.

Callers

nothing calls this directly

Calls 4

formatSymbolFlagsFunction · 0.85
formatSyntaxKindFunction · 0.85
concatMethod · 0.80
mapMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…