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

Function errorOnFirstToken

test/fixtures/snapshot/typescript.js:46709–46712  ·  view source on GitHub ↗
(node, message, arg0, arg1, arg2)

Source from the content-addressed store, hash-verified

46707 }
46708 }
46709 function errorOnFirstToken(node, message, arg0, arg1, arg2) {
46710 var span = ts.getSpanOfTokenAtPosition(file, node.pos);
46711 file.bindDiagnostics.push(ts.createFileDiagnostic(file, span.start, span.length, message, arg0, arg1, arg2));
46712 }
46713 function errorOrSuggestionOnNode(isError, node, message) {
46714 errorOrSuggestionOnRange(isError, node, node, message);
46715 }

Callers 3

bindModuleDeclarationFunction · 0.85

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected