(fileName)
| 144621 | } |
| 144622 | // This can be called from source mapper in either source program or program that includes generated file |
| 144623 | function getSourceFileLike(fileName) { |
| 144624 | return !host.getSourceFileLike ? |
| 144625 | getSourceFile(fileName) || getOrCreateSourceFileLike(fileName) : |
| 144626 | host.getSourceFileLike(fileName); |
| 144627 | } |
| 144628 | function toLineColumnOffset(fileName, position) { |
| 144629 | var file = getSourceFileLike(fileName); // TODO: GH#18217 |
| 144630 | return file.getLineAndCharacterOfPosition(position); |
no test coverage detected
searching dependent graphs…