MCPcopy Create free account
hub / github.com/nodejs/node / highlightSpans

Function highlightSpans

test/fixtures/snapshot/typescript.js:135637–135639  ·  view source on GitHub ↗
(nodes)

Source from the content-addressed store, hash-verified

135635 return nodeTest(node) ? highlightSpans(getNodes(node, sourceFile)) : undefined;
135636 }
135637 function highlightSpans(nodes) {
135638 return nodes && nodes.map(function (node) { return getHighlightSpanForNode(node, sourceFile); });
135639 }
135640 }
135641 /**
135642 * Aggregates all throw-statements within this node *without* crossing

Callers 2

getHighlightSpansFunction · 0.85
useParentFunction · 0.85

Calls 2

getHighlightSpanForNodeFunction · 0.85
mapMethod · 0.65

Tested by

no test coverage detected