Home
last modified time | relevance | path

Searched refs:deleteRange (Results 1 – 8 of 8) sorted by relevance

/third_party/typescript/src/services/
DtextChanges.ts330 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/
DremoveAccidentalCallParentheses.ts15 …t.deleteRange(context.sourceFile, { pos: callExpression.expression.end, end: callExpression.end });
DfixUnusedLabel.ts23 changes.deleteRange(sourceFile, { pos, end });
DfixExtendsInterfaceBecomesImplements.ts49 changes.deleteRange(sourceFile, { pos: implementsToken.getStart(), end });
DimportFixes.ts1095 changes.deleteRange(sourceFile, aliasDeclaration.getFirstToken()!);
1111 changes.deleteRange(sourceFile, aliasDeclaration.getChildAt(1));
/third_party/typescript/src/services/refactors/
DconvertStringOrTemplateLiteral.ts77 t.deleteRange(file, trailingRange);
DconvertExport.ts203 …changes.deleteRange(importingSourceFile, { pos: ref.getStart(importingSourceFile), end: namedBindi…
/third_party/typescript/src/testRunner/unittests/services/
DtextChanges.ts118 …changeTracker.deleteRange(sourceFile, { pos: text.indexOf("function foo"), end: text.indexOf("func…