| /third_party/typescript/src/services/ |
| D | codeFixProvider.ts | 6 …export function createCodeFixActionWithoutFixAll(fixName: string, changes: FileTextChanges[], desc… 10 …export function createCodeFixAction(fixName: string, changes: FileTextChanges[], description: Diag… 14 …export function createCodeFixActionMaybeFixAll(fixName: string, changes: FileTextChanges[], descri… 18 …teCodeFixActionWorker(fixName: string, description: string, changes: FileTextChanges[], fixId?: {}… 63 …export function createCombinedCodeActions(changes: FileTextChanges[], commands?: CodeActionCommand… 67 …port function createFileTextChanges(fileName: string, textChanges: TextChange[]): FileTextChanges {
|
| D | types.ts | 554 …Options: FormatCodeSettings, preferences: UserPreferences | undefined): readonly FileTextChanges[]; 555 …Options: FormatCodeSettings, preferences: UserPreferences | undefined): readonly FileTextChanges[]; 779 export interface FileTextChanges { interface 789 changes: FileTextChanges[]; 809 changes: readonly FileTextChanges[]; 882 edits: FileTextChanges[];
|
| D | textChanges.ts | 309 …static with(context: TextChangesContext, cb: (tracker: ChangeTracker) => void): FileTextChanges[] { 318 public pushRaw(sourceFile: SourceFile, change: FileTextChanges) { 946 public getChanges(validate?: ValidateNonFormattedText): FileTextChanges[] { 1034 …ext: formatting.FormatContext, validate: ValidateNonFormattedText | undefined): FileTextChanges[] { 1062 …ineTrivia)[], newLineCharacter: string, formatContext: formatting.FormatContext): FileTextChanges {
|
| D | getEditsForFileRename.ts | 11 ): readonly FileTextChanges[] {
|
| D | services.ts | 2114 …ons: FormatCodeSettings, preferences: UserPreferences = emptyOptions): readonly FileTextChanges[] { 2124 …ons: FormatCodeSettings, preferences: UserPreferences = emptyOptions): readonly FileTextChanges[] {
|
| D | utilities.ts | 2661 …export function getRenameLocation(edits: readonly FileTextChanges[], renameFilename: string, name:…
|
| /third_party/typescript/src/services/refactors/ |
| D | convertArrowFunctionOrFunctionExpression.ts | 97 const edits: FileTextChanges[] = []; 203 …usFunction(context: RefactorContext, func: FunctionExpression | ArrowFunction): FileTextChanges[] { 210 …Context, func: FunctionExpression | ArrowFunction, variableInfo: VariableInfo): FileTextChanges[] { 232 …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 | 733 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 | 745 … const edits: FileTextChanges[] = this.convertCodeEditsToTextChanges(response.body.edits); 760 …ports(_args: OrganizeImportsArgs, _formatOptions: FormatCodeSettings): readonly FileTextChanges[] { 768 private convertCodeEditsToTextChanges(edits: protocol.FileCodeEdits[]): FileTextChanges[] { 778 … private convertChanges(changes: protocol.FileCodeEdits[], fileName: string): FileTextChanges[] {
|
| D | harnessLanguageService.ts | 606 …gs: ts.OrganizeImportsArgs, _formatOptions: ts.FormatCodeSettings): readonly ts.FileTextChanges[] { 609 getEditsForFileRename(): readonly ts.FileTextChanges[] {
|
| D | fourslashImpl.ts | 2989 …ngeContent }: FourSlashInterface.NewContentOptions, changes: readonly ts.FileTextChanges[]): void { 3066 private applyChanges(changes: readonly ts.FileTextChanges[]): void { 3632 …private testNewFileContents(edits: readonly ts.FileTextChanges[], newFileContents: { [fileName: st…
|
| /third_party/typescript/src/server/ |
| D | session.ts | 2536 …tArgs, simplifiedResult: boolean): readonly protocol.FileCodeEdits[] | readonly FileTextChanges[] { 2556 …tArgs, simplifiedResult: boolean): readonly protocol.FileCodeEdits[] | readonly FileTextChanges[] { 2564 const textChanges: FileTextChanges[] = []; 2667 …private mapTextChangesToCodeEdits(textChanges: readonly FileTextChanges[]): protocol.FileCodeEdits… 2671 private mapTextChangeToCodeEdit(textChanges: FileTextChanges): protocol.FileCodeEdits { 3491 …function convertNewFileTextChangeToCodeEdit(textChanges: FileTextChanges): protocol.FileCodeEdits { 3504 …ing, renameFilename: string, renameLocation: number, edits: readonly FileTextChanges[]): protocol.… 3510 …function applyEdits(text: string, textFilename: string, edits: readonly FileTextChanges[]): string…
|
| /third_party/typescript/lib/ |
| D | typescript.d.ts | 6388 …Options: FormatCodeSettings, preferences: UserPreferences | undefined): readonly FileTextChanges[]; 6389 …Options: FormatCodeSettings, preferences: UserPreferences | undefined): readonly FileTextChanges[]; 6569 interface FileTextChanges { interface 6578 changes: FileTextChanges[]; 6596 changes: readonly FileTextChanges[]; 6655 edits: FileTextChanges[];
|
| D | typescriptServices.d.ts | 6388 …Options: FormatCodeSettings, preferences: UserPreferences | undefined): readonly FileTextChanges[]; 6389 …Options: FormatCodeSettings, preferences: UserPreferences | undefined): readonly FileTextChanges[]; 6569 interface FileTextChanges { interface 6578 changes: FileTextChanges[]; 6596 changes: readonly FileTextChanges[]; 6655 edits: FileTextChanges[];
|
| D | tsserverlibrary.d.ts | 6388 …Options: FormatCodeSettings, preferences: UserPreferences | undefined): readonly FileTextChanges[]; 6389 …Options: FormatCodeSettings, preferences: UserPreferences | undefined): readonly FileTextChanges[]; 6569 interface FileTextChanges { interface 6578 changes: FileTextChanges[]; 6596 changes: readonly FileTextChanges[]; 6655 edits: FileTextChanges[];
|
| /third_party/typescript/tests/baselines/reference/api/ |
| D | typescript.d.ts | 6388 …Options: FormatCodeSettings, preferences: UserPreferences | undefined): readonly FileTextChanges[]; 6389 …Options: FormatCodeSettings, preferences: UserPreferences | undefined): readonly FileTextChanges[]; 6569 interface FileTextChanges { interface 6578 changes: FileTextChanges[]; 6596 changes: readonly FileTextChanges[]; 6655 edits: FileTextChanges[];
|
| D | tsserverlibrary.d.ts | 6388 …Options: FormatCodeSettings, preferences: UserPreferences | undefined): readonly FileTextChanges[]; 6389 …Options: FormatCodeSettings, preferences: UserPreferences | undefined): readonly FileTextChanges[]; 6569 interface FileTextChanges { interface 6578 changes: FileTextChanges[]; 6596 changes: readonly FileTextChanges[]; 6655 edits: FileTextChanges[];
|