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

Function createDiagnosticForNodeArray

test/fixtures/snapshot/typescript.js:15274–15277  ·  view source on GitHub ↗
(sourceFile, nodes, message, arg0, arg1, arg2, arg3)

Source from the content-addressed store, hash-verified

15272 }
15273 ts.createDiagnosticForNode = createDiagnosticForNode;
15274 function createDiagnosticForNodeArray(sourceFile, nodes, message, arg0, arg1, arg2, arg3) {
15275 var start = ts.skipTrivia(sourceFile.text, nodes.pos);
15276 return createFileDiagnostic(sourceFile, start, nodes.end - start, message, arg0, arg1, arg2, arg3);
15277 }
15278 ts.createDiagnosticForNodeArray = createDiagnosticForNodeArray;
15279 function createDiagnosticForNodeInSourceFile(sourceFile, node, message, arg0, arg1, arg2, arg3) {
15280 var span = getErrorSpanForNode(sourceFile, node);

Callers 1

walkArrayFunction · 0.85

Calls 1

createFileDiagnosticFunction · 0.85

Tested by

no test coverage detected