Searched refs:leadingTrivia (Results 1 – 2 of 2) sorted by relevance
/third_party/typescript/src/services/formatting/ |
D | formattingScanner.ts | 36 let leadingTrivia: TextRangeWithTriviaKind[] | undefined; 49 getCurrentLeadingTrivia: () => leadingTrivia, 72 leadingTrivia = undefined; 94 leadingTrivia = append(leadingTrivia, item); 215 lastTokenInfo = { leadingTrivia, trailingTrivia, token }; 295 leadingTrivia = undefined; 305 leadingTrivia = undefined;
|
D | formatting.ts | 16 leadingTrivia: TextRangeWithTriviaKind[] | undefined; property 433 const leadingTrivia = formattingScanner.getCurrentLeadingTrivia(); constant 434 if (leadingTrivia) { 435 indentTriviaItems(leadingTrivia, indentation, /*indentNextTokenOrTrivia*/ false, 438 trimTrailingWhitespacesForRemainingRange(leadingTrivia); 887 if (currentTokenInfo.leadingTrivia) { 888 … processTrivia(currentTokenInfo.leadingTrivia, parent, childContextNode, dynamicIndentation); 924 if (currentTokenInfo.leadingTrivia) { 926 …indentNextTokenOrTrivia = indentTriviaItems(currentTokenInfo.leadingTrivia, commentIndentation, in…
|