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

Function getLineAndCharacterOfPosition

test/fixtures/snapshot/typescript.js:10384–10386  ·  view source on GitHub ↗
(sourceFile, position)

Source from the content-addressed store, hash-verified

10382 }
10383 ts.getLinesBetweenPositions = getLinesBetweenPositions;
10384 function getLineAndCharacterOfPosition(sourceFile, position) {
10385 return computeLineAndCharacterOfPosition(getLineStarts(sourceFile), position);
10386 }
10387 ts.getLineAndCharacterOfPosition = getLineAndCharacterOfPosition;
10388 function isWhiteSpaceLike(ch) {
10389 return isWhiteSpaceSingleLine(ch) || isLineBreak(ch);

Callers

nothing calls this directly

Calls 2

getLineStartsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…