(sourceFile, line, character, allowEdits)
| 10302 | } |
| 10303 | ts.computeLineStarts = computeLineStarts; |
| 10304 | function getPositionOfLineAndCharacter(sourceFile, line, character, allowEdits) { |
| 10305 | return sourceFile.getPositionOfLineAndCharacter ? |
| 10306 | sourceFile.getPositionOfLineAndCharacter(line, character, allowEdits) : |
| 10307 | computePositionOfLineAndCharacter(getLineStarts(sourceFile), line, character, sourceFile.text, allowEdits); |
| 10308 | } |
| 10309 | ts.getPositionOfLineAndCharacter = getPositionOfLineAndCharacter; |
| 10310 | /* @internal */ |
| 10311 | function computePositionOfLineAndCharacter(lineStarts, line, character, debugText, allowEdits) { |
nothing calls this directly
no test coverage detected
searching dependent graphs…