| /third_party/typescript/src/services/ |
| D | codeFixProvider.ts | 13 …export function createCodeFixActionWithoutFixAll(fixName: string, changes: FileTextChanges[], desc… 17 …export function createCodeFixAction(fixName: string, changes: FileTextChanges[], description: Diag… 21 …teCodeFixActionWorker(fixName: string, description: string, changes: FileTextChanges[], fixId?: {}… 66 …export function createCombinedCodeActions(changes: FileTextChanges[], commands?: CodeActionCommand… 70 …port function createFileTextChanges(fileName: string, textChanges: TextChange[]): FileTextChanges {
|
| D | types.ts | 527 …Options: FormatCodeSettings, preferences: UserPreferences | undefined): readonly FileTextChanges[]; 528 …Options: FormatCodeSettings, preferences: UserPreferences | undefined): readonly FileTextChanges[]; 706 export interface FileTextChanges { interface 716 changes: FileTextChanges[]; 736 changes: readonly FileTextChanges[]; 809 edits: FileTextChanges[];
|
| D | textChanges.ts | 271 …static with(context: TextChangesContext, cb: (tracker: ChangeTracker) => void): FileTextChanges[] { 280 public pushRaw(sourceFile: SourceFile, change: FileTextChanges) { 866 public getChanges(validate?: ValidateNonFormattedText): FileTextChanges[] { 902 …ext: formatting.FormatContext, validate: ValidateNonFormattedText | undefined): FileTextChanges[] { 930 …ineTrivia)[], newLineCharacter: string, formatContext: formatting.FormatContext): FileTextChanges {
|
| D | getEditsForFileRename.ts | 11 ): readonly FileTextChanges[] {
|
| D | services.ts | 1993 …ons: FormatCodeSettings, preferences: UserPreferences = emptyOptions): readonly FileTextChanges[] { 2002 …ons: FormatCodeSettings, preferences: UserPreferences = emptyOptions): readonly FileTextChanges[] {
|
| D | utilities.ts | 2406 …export function getRenameLocation(edits: readonly FileTextChanges[], renameFilename: string, name:…
|
| /third_party/typescript/src/services/refactors/ |
| D | convertArrowFunctionOrFunctionExpression.ts | 97 const edits: FileTextChanges[] = []; 198 …usFunction(context: RefactorContext, func: FunctionExpression | ArrowFunction): FileTextChanges[] { 205 …Context, func: FunctionExpression | ArrowFunction, variableInfo: VariableInfo): FileTextChanges[] { 224 …oForConvertToArrowFunction(context: RefactorContext, func: FunctionExpression): FileTextChanges[] {
|
| /third_party/typescript/src/testRunner/unittests/tsserver/ |
| D | getEditsForFileRename.ts | 25 assert.deepEqual<readonly FileTextChanges[]>(edits, [{
|
| D | session.ts | 732 const edits: FileTextChanges = {
|
| /third_party/typescript/src/services/codefixes/ |
| D | addMissingAsync.ts | 3 …ackChangesFunction = (cb: (changeTracker: textChanges.ChangeTracker) => void) => FileTextChanges[];
|
| D | generateAccessors.ts | 20 …mber, context: textChanges.TextChangesContext, _actionName: string): FileTextChanges[] | undefined…
|
| D | addMissingAwait.ts | 3 …ackChangesFunction = (cb: (changeTracker: textChanges.ChangeTracker) => void) => FileTextChanges[];
|
| D | fixUnusedIdentifier.ts | 158 …function createDeleteFix(changes: FileTextChanges[], diag: DiagnosticAndArguments): CodeFixAction {
|
| /third_party/typescript/src/harness/ |
| D | client.ts | 687 … const edits: FileTextChanges[] = this.convertCodeEditsToTextChanges(response.body.edits); 702 …rts(_scope: OrganizeImportsScope, _formatOptions: FormatCodeSettings): readonly FileTextChanges[] { 710 private convertCodeEditsToTextChanges(edits: protocol.FileCodeEdits[]): FileTextChanges[] { 720 … private convertChanges(changes: protocol.FileCodeEdits[], fileName: string): FileTextChanges[] {
|
| D | harnessLanguageService.ts | 587 …e: ts.OrganizeImportsScope, _formatOptions: ts.FormatCodeSettings): readonly ts.FileTextChanges[] { 590 getEditsForFileRename(): readonly ts.FileTextChanges[] {
|
| D | fourslashImpl.ts | 2913 …ngeContent }: FourSlashInterface.NewContentOptions, changes: readonly ts.FileTextChanges[]): void { 2990 private applyChanges(changes: readonly ts.FileTextChanges[]): void { 3544 …private testNewFileContents(edits: readonly ts.FileTextChanges[], newFileContents: { [fileName: st…
|
| /third_party/typescript/src/server/ |
| D | session.ts | 2168 …tArgs, simplifiedResult: boolean): readonly protocol.FileCodeEdits[] | readonly FileTextChanges[] { 2180 …tArgs, simplifiedResult: boolean): readonly protocol.FileCodeEdits[] | readonly FileTextChanges[] { 2258 …private mapTextChangesToCodeEdits(textChanges: readonly FileTextChanges[]): protocol.FileCodeEdits… 2262 private mapTextChangeToCodeEdit(textChanges: FileTextChanges): protocol.FileCodeEdits { 3074 …function convertNewFileTextChangeToCodeEdit(textChanges: FileTextChanges): protocol.FileCodeEdits { 3087 …ing, renameFilename: string, renameLocation: number, edits: readonly FileTextChanges[]): protocol.… 3093 …function applyEdits(text: string, textFilename: string, edits: readonly FileTextChanges[]): string…
|
| /third_party/typescript/lib/ |
| D | typescript.d.ts | 5622 …Options: FormatCodeSettings, preferences: UserPreferences | undefined): readonly FileTextChanges[]; 5623 …Options: FormatCodeSettings, preferences: UserPreferences | undefined): readonly FileTextChanges[]; 5770 interface FileTextChanges { interface 5779 changes: FileTextChanges[]; 5797 changes: readonly FileTextChanges[]; 5856 edits: FileTextChanges[];
|
| D | typescriptServices.d.ts | 5622 …Options: FormatCodeSettings, preferences: UserPreferences | undefined): readonly FileTextChanges[]; 5623 …Options: FormatCodeSettings, preferences: UserPreferences | undefined): readonly FileTextChanges[]; 5770 interface FileTextChanges { interface 5779 changes: FileTextChanges[]; 5797 changes: readonly FileTextChanges[]; 5856 edits: FileTextChanges[];
|
| D | tsserverlibrary.d.ts | 5622 …Options: FormatCodeSettings, preferences: UserPreferences | undefined): readonly FileTextChanges[]; 5623 …Options: FormatCodeSettings, preferences: UserPreferences | undefined): readonly FileTextChanges[]; 5770 interface FileTextChanges { interface 5779 changes: FileTextChanges[]; 5797 changes: readonly FileTextChanges[]; 5856 edits: FileTextChanges[];
|
| /third_party/typescript/tests/baselines/reference/api/ |
| D | typescript.d.ts | 5865 …Options: FormatCodeSettings, preferences: UserPreferences | undefined): readonly FileTextChanges[]; 5866 …Options: FormatCodeSettings, preferences: UserPreferences | undefined): readonly FileTextChanges[]; 6013 interface FileTextChanges { interface 6022 changes: FileTextChanges[]; 6040 changes: readonly FileTextChanges[]; 6099 edits: FileTextChanges[];
|
| D | tsserverlibrary.d.ts | 5865 …Options: FormatCodeSettings, preferences: UserPreferences | undefined): readonly FileTextChanges[]; 5866 …Options: FormatCodeSettings, preferences: UserPreferences | undefined): readonly FileTextChanges[]; 6013 interface FileTextChanges { interface 6022 changes: FileTextChanges[]; 6040 changes: readonly FileTextChanges[]; 6099 edits: FileTextChanges[];
|