Searched refs:deleteRange (Results 1 – 8 of 8) sorted by relevance
/third_party/typescript/src/services/ |
D | textChanges.ts | 330 public deleteRange(sourceFile: SourceFile, range: TextRange): void { method in ts.textChanges.ChangeTracker 340 this.deleteRange(sourceFile, getAdjustedRange(sourceFile, node, node, options)); 349 this.deleteRange(sourceFile, { pos, end }); 356 …this.deleteRange(sourceFile, { pos: modifier.getStart(sourceFile), end: skipTrivia(sourceFile.text… 362 this.deleteRange(sourceFile, { pos: startPosition, end: endPosition }); 368 this.deleteRange(sourceFile, { pos: startPosition, end: endPosition }); 483 this.deleteRange(sourceFile, { 906 this.deleteRange(sourceFile, createRange(openBraceEnd, closeBraceEnd - 1)); 920 this.deleteRange(sourceFile, rangeOfTypeParameters(sourceFile, node)); 935 …this.deleteRange(sourceFile, { pos: list[lastNonDeletedIndex].end, end: startPositionToDeleteNodeI… [all …]
|
/third_party/typescript/src/services/codefixes/ |
D | removeAccidentalCallParentheses.ts | 15 …t.deleteRange(context.sourceFile, { pos: callExpression.expression.end, end: callExpression.end });
|
D | fixUnusedLabel.ts | 23 changes.deleteRange(sourceFile, { pos, end });
|
D | fixExtendsInterfaceBecomesImplements.ts | 49 changes.deleteRange(sourceFile, { pos: implementsToken.getStart(), end });
|
D | importFixes.ts | 1095 changes.deleteRange(sourceFile, aliasDeclaration.getFirstToken()!); 1111 changes.deleteRange(sourceFile, aliasDeclaration.getChildAt(1));
|
/third_party/typescript/src/services/refactors/ |
D | convertStringOrTemplateLiteral.ts | 77 t.deleteRange(file, trailingRange);
|
D | convertExport.ts | 203 …changes.deleteRange(importingSourceFile, { pos: ref.getStart(importingSourceFile), end: namedBindi…
|
/third_party/typescript/src/testRunner/unittests/services/ |
D | textChanges.ts | 118 …changeTracker.deleteRange(sourceFile, { pos: text.indexOf("function foo"), end: text.indexOf("func…
|