(fileName, position)
| 165364 | } |
| 165365 | /// Goto implementation |
| 165366 | function getImplementationAtPosition(fileName, position) { |
| 165367 | synchronizeHostData(); |
| 165368 | return ts.FindAllReferences.getImplementationsAtPosition(program, cancellationToken, program.getSourceFiles(), getValidSourceFile(fileName), position); |
| 165369 | } |
| 165370 | /// References and Occurrences |
| 165371 | function getOccurrencesAtPosition(fileName, position) { |
| 165372 | return ts.flatMap(getDocumentHighlights(fileName, position, [fileName]), function (entry) { return entry.highlightSpans.map(function (highlightSpan) { return (__assign(__assign({ fileName: entry.fileName, textSpan: highlightSpan.textSpan, isWriteAccess: highlightSpan.kind === "writtenReference" /* HighlightSpanKind.writtenReference */ }, highlightSpan.isInString && { isInString: true }), highlightSpan.contextSpan && { contextSpan: highlightSpan.contextSpan })); }); }); |
nothing calls this directly
no test coverage detected