Home
last modified time | relevance | path

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

/third_party/typescript/src/services/formatting/
DsmartIndenter.ts346 …AndStartLineOverlapsExpressionBeingCalled(parent: Node, child: Node, childStartLine: number, sourc…
353 return expressionOfCallExpressionEndLine === childStartLine;
356 …ameLineWithElseInIfStatement(parent: Node, child: TextRangeWithKind, childStartLine: number, sourc…
362 return elseKeywordStartLine === childStartLine;
389 …ranchOfConditionalExpression(parent: Node, child: TextRangeWithKind, childStartLine: number, sourc…
393 return childStartLine === conditionEndLine;
405 return conditionEndLine === trueStartLine && trueEndLine === childStartLine;
411 …OnSameLineAsPreviousArgument(parent: Node, child: TextRangeWithKind, childStartLine: number, sourc…
423 if (childStartLine === lineOfPreviousNode) {
639 …const childStartLine = sourceFile.getLineAndCharacterOfPosition(skipTrivia(sourceFile.text, child.… constant
[all …]
Dformatting.ts725 const childStartLine = sourceFile.getLineAndCharacterOfPosition(childStartPos).line; constant
727 let undecoratedChildStartLine = childStartLine;
786 …nst effectiveParentStartLine = child.kind === SyntaxKind.Decorator ? childStartLine : undecoratedP… constant
787 …const childIndentation = computeIndentation(child, childStartLine, childIndentationAmount, node, p…
789 …processNode(child, childContextNode, childStartLine, undecoratedChildStartLine, childIndentation.i…