(lineStarts, position)
| 10341 | ts.getLineStarts = getLineStarts; |
| 10342 | /* @internal */ |
| 10343 | function computeLineAndCharacterOfPosition(lineStarts, position) { |
| 10344 | var lineNumber = computeLineOfPosition(lineStarts, position); |
| 10345 | return { |
| 10346 | line: lineNumber, |
| 10347 | character: position - lineStarts[lineNumber] |
| 10348 | }; |
| 10349 | } |
| 10350 | ts.computeLineAndCharacterOfPosition = computeLineAndCharacterOfPosition; |
| 10351 | /** |
| 10352 | * @internal |
no test coverage detected