Home
last modified time | relevance | path

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

/third_party/typescript/src/services/formatting/
Dformatting.ts950 for (const triviaItem of trivia) { constant
951 const triviaInRange = rangeContainsRange(originalRange, triviaItem);
952 switch (triviaItem.kind) {
955 …indentMultilineComment(triviaItem, commentIndentation, /*firstLineIsIndented*/ !indentNextTokenOrT…
961 indentSingleLine(triviaItem);
974 for (const triviaItem of trivia) { constant
975 if (isComment(triviaItem.kind) && rangeContainsRange(originalRange, triviaItem)) {
976 … const triviaItemStart = sourceFile.getLineAndCharacterOfPosition(triviaItem.pos);
977 … processRange(triviaItem, triviaItemStart, parent, contextNode, dynamicIndentation);