/third_party/typescript/src/testRunner/unittests/tsserver/ |
D | refactors.ts | 53 renameLocation: { line: 2, offset: 3 }, 116 renameLocation: undefined, 151 renameLocation: undefined,
|
D | declarationFileMaps.ts | 11 function renameLocation(input: DocumentSpanFromSubstring): RenameLocation { function 616 renameLocation({ file: userTs, text: "fnA" }), 617 renameLocation({ file: aTs, text: "fnA", contextText: "export function fnA() {}" }),
|
/third_party/typescript/src/services/refactors/ |
D | generateGetAccessorAndSetAccessor.ts | 23 …const renameLocation = renameLocationOffset + getRenameLocation(edits, renameFilename, nameNeedRen… constant 25 return { renameFilename, renameLocation, edits };
|
D | extractType.ts | 77 …const renameLocation = getRenameLocation(edits, renameFilename, name, /*preferLastLocation*/ false… constant 78 return { edits, renameFilename, renameLocation };
|
D | addOrRemoveBracesToArrowFunction.ts | 87 return { renameFilename: undefined, renameLocation: undefined, edits };
|
D | inferFunctionReturnType.ts | 21 return { renameFilename: undefined, renameLocation: undefined, edits };
|
D | convertOverloadListToSingleSignature.ts | 116 return { renameFilename: undefined, renameLocation: undefined, edits };
|
D | convertArrowFunctionOrFunctionExpression.ts | 120 return { renameFilename: undefined, renameLocation: undefined, edits };
|
D | convertToOptionalChainExpression.ts | 45 return { edits, renameFilename: undefined, renameLocation: undefined };
|
D | convertImport.ts | 49 return { edits, renameFilename: undefined, renameLocation: undefined };
|
D | convertExport.ts | 46 return { edits, renameFilename: undefined, renameLocation: undefined };
|
D | extractSymbol.ts | 1142 …const renameLocation = getRenameLocation(edits, renameFilename, functionNameText, /*isDeclaredBefo… constant 1143 return { renameFilename, renameLocation, edits }; 1286 …const renameLocation = getRenameLocation(edits, renameFilename, localNameText, /*isDeclaredBeforeU… constant 1287 return { renameFilename, renameLocation, edits };
|
D | convertParamsToDestructuredObject.ts | 41 return { renameFilename: undefined, renameLocation: undefined, edits };
|
D | moveToNewFile.ts | 29 return { edits, renameFilename: undefined, renameLocation: undefined };
|
/third_party/typescript/src/testRunner/unittests/services/extract/ |
D | helpers.ts | 119 …const { renameLocation, edits } = refactor.extractSymbol.getRefactorEditsToExtractSymbol(context, … constant 123 …const newTextWithRename = newText.slice(0, renameLocation) + "/*RENAME*/" + newText.slice(renameLo…
|
/third_party/typescript/src/harness/ |
D | client.ts | 742 return { edits: [], renameFilename: undefined, renameLocation: undefined }; 748 let renameLocation: number | undefined; variable 750 …renameLocation = this.lineOffsetToPosition(renameFilename, response.body.renameLocation!); // TODO… 756 renameLocation
|
D | fourslashImpl.ts | 3585 if (editInfo.renameLocation !== undefined) { 3586 … this.raiseError(`Did not expect a rename location, got ${editInfo.renameLocation}`); 3591 if (renamePosition !== editInfo.renameLocation) { 3592 …is.raiseError(`Expected rename position of ${renamePosition}, but got ${editInfo.renameLocation}`);
|
/third_party/typescript/src/server/ |
D | session.ts | 320 (renameLocation, cb) => cb(documentSpanLocation(renameLocation)), 2523 const { renameFilename, renameLocation, edits } = result; constant 2525 if (renameFilename !== undefined && renameLocation !== undefined) { 2527 …ewDocument(getSnapshotText(renameScriptInfo.getSnapshot()), renameFilename, renameLocation, edits); 2529 …return { renameLocation: mappedRenameLocation, renameFilename, edits: this.mapTextChangesToCodeEdi… 3504 …on getLocationInNewDocument(oldText: string, renameFilename: string, renameLocation: number, edits… 3506 … line, character } = computeLineAndCharacterOfPosition(computeLineStarts(newText), renameLocation);
|
D | protocol.ts | 667 renameLocation?: Location; property
|
/third_party/typescript/src/services/ |
D | types.ts | 884 renameLocation?: number; property
|
/third_party/typescript/lib/ |
D | protocol.d.ts | 490 renameLocation?: Location; property
|
D | tsserverlibrary.d.ts | 6657 renameLocation?: number; property 7995 renameLocation?: Location;
|
D | typescript.d.ts | 6657 renameLocation?: number; property
|
/third_party/typescript/tests/baselines/reference/api/ |
D | tsserverlibrary.d.ts | 6657 renameLocation?: number; property 7995 renameLocation?: Location;
|
D | typescript.d.ts | 6657 renameLocation?: number; property
|