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

Function assertMissingNode

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

Source from the content-addressed store, hash-verified

2807 }
2808 Debug.assertOptionalToken = assertOptionalToken;
2809 function assertMissingNode(node, message, stackCrawlMark) {
2810 if (shouldAssertFunction(1 /* AssertionLevel.Normal */, "assertMissingNode")) {
2811 assert(node === undefined, message || "Unexpected node.", function () { return "Node ".concat(formatSyntaxKind(node.kind), " was unexpected'."); }, stackCrawlMark || assertMissingNode);
2812 }
2813 }
2814 Debug.assertMissingNode = assertMissingNode;
2815 function type(_value) { }
2816 Debug.type = type;

Callers

nothing calls this directly

Calls 4

shouldAssertFunctionFunction · 0.85
formatSyntaxKindFunction · 0.85
concatMethod · 0.80
assertFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…