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

Function failBadSyntaxKind

test/fixtures/snapshot/typescript.js:2710–2712  ·  view source on GitHub ↗
(node, message, stackCrawlMark)

Source from the content-addressed store, hash-verified

2708 }
2709 Debug.fail = fail;
2710 function failBadSyntaxKind(node, message, stackCrawlMark) {
2711 return fail("".concat(message || "Unexpected node.", "\r\nNode ").concat(formatSyntaxKind(node.kind), " was unexpected."), stackCrawlMark || failBadSyntaxKind);
2712 }
2713 Debug.failBadSyntaxKind = failBadSyntaxKind;
2714 function assert(expression, message, verboseDebugInfo, stackCrawlMark) {
2715 if (!expression) {

Callers

nothing calls this directly

Calls 3

formatSyntaxKindFunction · 0.85
concatMethod · 0.80
failFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…