Home
last modified time | relevance | path

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

/third_party/typescript/src/services/
DtextChanges.ts900 const [openBraceEnd, closeBraceEnd] = getClassOrObjectBraceEnds(node, sourceFile); constant
901 if (openBraceEnd !== undefined && closeBraceEnd !== undefined) {
903 … const isSingleLine = positionsAreOnSameLine(openBraceEnd, closeBraceEnd, sourceFile);
904 if (isEmpty && isSingleLine && openBraceEnd !== closeBraceEnd - 1) {
906 this.deleteRange(sourceFile, createRange(openBraceEnd, closeBraceEnd - 1));
909 this.insertText(sourceFile, closeBraceEnd - 1, this.newLineCharacter);