Home
last modified time | relevance | path

Searched refs:renameLocation (Results 1 – 25 of 26) sorted by relevance

12

/third_party/typescript/src/testRunner/unittests/tsserver/
Drefactors.ts53 renameLocation: { line: 2, offset: 3 },
116 renameLocation: undefined,
151 renameLocation: undefined,
DdeclarationFileMaps.ts11 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/
DgenerateGetAccessorAndSetAccessor.ts23 …const renameLocation = renameLocationOffset + getRenameLocation(edits, renameFilename, nameNeedRen… constant
25 return { renameFilename, renameLocation, edits };
DextractType.ts77 …const renameLocation = getRenameLocation(edits, renameFilename, name, /*preferLastLocation*/ false… constant
78 return { edits, renameFilename, renameLocation };
DaddOrRemoveBracesToArrowFunction.ts87 return { renameFilename: undefined, renameLocation: undefined, edits };
DinferFunctionReturnType.ts21 return { renameFilename: undefined, renameLocation: undefined, edits };
DconvertOverloadListToSingleSignature.ts116 return { renameFilename: undefined, renameLocation: undefined, edits };
DconvertArrowFunctionOrFunctionExpression.ts120 return { renameFilename: undefined, renameLocation: undefined, edits };
DconvertToOptionalChainExpression.ts45 return { edits, renameFilename: undefined, renameLocation: undefined };
DconvertImport.ts49 return { edits, renameFilename: undefined, renameLocation: undefined };
DconvertExport.ts46 return { edits, renameFilename: undefined, renameLocation: undefined };
DextractSymbol.ts1142 …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 };
DconvertParamsToDestructuredObject.ts41 return { renameFilename: undefined, renameLocation: undefined, edits };
DmoveToNewFile.ts29 return { edits, renameFilename: undefined, renameLocation: undefined };
/third_party/typescript/src/testRunner/unittests/services/extract/
Dhelpers.ts119 …const { renameLocation, edits } = refactor.extractSymbol.getRefactorEditsToExtractSymbol(context, … constant
123 …const newTextWithRename = newText.slice(0, renameLocation) + "/*RENAME*/" + newText.slice(renameLo…
/third_party/typescript/src/harness/
Dclient.ts742 return { edits: [], renameFilename: undefined, renameLocation: undefined };
748 let renameLocation: number | undefined; variable
750renameLocation = this.lineOffsetToPosition(renameFilename, response.body.renameLocation!); // TODO…
756 renameLocation
DfourslashImpl.ts3585 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/
Dsession.ts320 (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);
Dprotocol.ts667 renameLocation?: Location; property
/third_party/typescript/src/services/
Dtypes.ts884 renameLocation?: number; property
/third_party/typescript/lib/
Dprotocol.d.ts490 renameLocation?: Location; property
Dtsserverlibrary.d.ts6657 renameLocation?: number; property
7995 renameLocation?: Location;
Dtypescript.d.ts6657 renameLocation?: number; property
/third_party/typescript/tests/baselines/reference/api/
Dtsserverlibrary.d.ts6657 renameLocation?: number; property
7995 renameLocation?: Location;
Dtypescript.d.ts6657 renameLocation?: number; property

12