(node, test, message, stackCrawlMark)
| 2783 | } |
| 2784 | Debug.assertEachNode = assertEachNode; |
| 2785 | function assertNode(node, test, message, stackCrawlMark) { |
| 2786 | if (shouldAssertFunction(1 /* AssertionLevel.Normal */, "assertNode")) { |
| 2787 | assert(node !== undefined && (test === undefined || test(node)), message || "Unexpected node.", function () { return "Node ".concat(formatSyntaxKind(node === null || node === void 0 ? void 0 : node.kind), " did not pass test '").concat(getFunctionName(test), "'."); }, stackCrawlMark || assertNode); |
| 2788 | } |
| 2789 | } |
| 2790 | Debug.assertNode = assertNode; |
| 2791 | function assertNotNode(node, test, message, stackCrawlMark) { |
| 2792 | if (shouldAssertFunction(1 /* AssertionLevel.Normal */, "assertNotNode")) { |
nothing calls this directly
no test coverage detected
searching dependent graphs…