Home
last modified time | relevance | path

Searched refs:FileTextChanges (Results 1 – 22 of 22) sorted by relevance

/third_party/typescript/src/services/
DcodeFixProvider.ts6 …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 {
Dtypes.ts554 …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[];
DtextChanges.ts309 …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 {
DgetEditsForFileRename.ts11 ): readonly FileTextChanges[] {
Dservices.ts2114 …ons: FormatCodeSettings, preferences: UserPreferences = emptyOptions): readonly FileTextChanges[] {
2124 …ons: FormatCodeSettings, preferences: UserPreferences = emptyOptions): readonly FileTextChanges[] {
Dutilities.ts2661 …export function getRenameLocation(edits: readonly FileTextChanges[], renameFilename: string, name:…
/third_party/typescript/src/services/refactors/
DconvertArrowFunctionOrFunctionExpression.ts97 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/
DgetEditsForFileRename.ts25 assert.deepEqual<readonly FileTextChanges[]>(edits, [{
Dsession.ts733 const edits: FileTextChanges = {
/third_party/typescript/src/services/codefixes/
DaddMissingAsync.ts3 …ackChangesFunction = (cb: (changeTracker: textChanges.ChangeTracker) => void) => FileTextChanges[];
DgenerateAccessors.ts20 …mber, context: textChanges.TextChangesContext, _actionName: string): FileTextChanges[] | undefined…
DaddMissingAwait.ts3 …ackChangesFunction = (cb: (changeTracker: textChanges.ChangeTracker) => void) => FileTextChanges[];
DfixUnusedIdentifier.ts158 …function createDeleteFix(changes: FileTextChanges[], diag: DiagnosticAndArguments): CodeFixAction {
/third_party/typescript/src/harness/
Dclient.ts745 … 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[] {
DharnessLanguageService.ts606 …gs: ts.OrganizeImportsArgs, _formatOptions: ts.FormatCodeSettings): readonly ts.FileTextChanges[] {
609 getEditsForFileRename(): readonly ts.FileTextChanges[] {
DfourslashImpl.ts2989 …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/
Dsession.ts2536 …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/
Dtypescript.d.ts6388 …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[];
DtypescriptServices.d.ts6388 …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[];
Dtsserverlibrary.d.ts6388 …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/
Dtypescript.d.ts6388 …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[];
Dtsserverlibrary.d.ts6388 …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[];