Home
last modified time | relevance | path

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

/third_party/typescript/src/services/
DcodeFixProvider.ts13 …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 {
Dtypes.ts527 …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[];
DtextChanges.ts271 …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 {
DgetEditsForFileRename.ts11 ): readonly FileTextChanges[] {
Dservices.ts1993 …ons: FormatCodeSettings, preferences: UserPreferences = emptyOptions): readonly FileTextChanges[] {
2002 …ons: FormatCodeSettings, preferences: UserPreferences = emptyOptions): readonly FileTextChanges[] {
Dutilities.ts2406 …export function getRenameLocation(edits: readonly FileTextChanges[], renameFilename: string, name:…
/third_party/typescript/src/services/refactors/
DconvertArrowFunctionOrFunctionExpression.ts97 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/
DgetEditsForFileRename.ts25 assert.deepEqual<readonly FileTextChanges[]>(edits, [{
Dsession.ts732 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.ts687 … 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[] {
DharnessLanguageService.ts587 …e: ts.OrganizeImportsScope, _formatOptions: ts.FormatCodeSettings): readonly ts.FileTextChanges[] {
590 getEditsForFileRename(): readonly ts.FileTextChanges[] {
DfourslashImpl.ts2913 …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/
Dsession.ts2168 …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/
Dtypescript.d.ts5622 …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[];
DtypescriptServices.d.ts5622 …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[];
Dtsserverlibrary.d.ts5622 …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/
Dtypescript.d.ts5865 …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[];
Dtsserverlibrary.d.ts5865 …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[];