MCPcopy Create free account
hub / github.com/nodejs/node / toRenameLocation

Function toRenameLocation

test/fixtures/snapshot/typescript.js:137123–137125  ·  view source on GitHub ↗
(entry, originalNode, checker, providePrefixAndSuffixText)

Source from the content-addressed store, hash-verified

137121 return { displayParts: displayParts, kind: symbolKind };
137122 }
137123 function toRenameLocation(entry, originalNode, checker, providePrefixAndSuffixText) {
137124 return __assign(__assign({}, entryToDocumentSpan(entry)), (providePrefixAndSuffixText && getPrefixAndSuffixText(entry, originalNode, checker)));
137125 }
137126 FindAllReferences.toRenameLocation = toRenameLocation;
137127 function toReferencedSymbolEntry(entry, symbol) {
137128 var referenceEntry = toReferenceEntry(entry);

Callers

nothing calls this directly

Calls 2

entryToDocumentSpanFunction · 0.85
getPrefixAndSuffixTextFunction · 0.85

Tested by

no test coverage detected