Home
last modified time | relevance | path

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

/third_party/typescript/src/services/formatting/
DsmartIndenter.ts265 const containingList = getContainingList(child, sourceFile); constant
266 const startPos = containingList ? containingList.pos : parent.getStart(sourceFile); constant
508 const containingList = getContainingList(node, sourceFile); constant
509 if (containingList) {
510 const index = containingList.indexOf(node);
512 … const result = deriveActualIndentationFromList(containingList, index, sourceFile, options);
517 …return getActualIndentationForListStartLine(containingList, sourceFile, options) + (listIndentsChi…
/third_party/typescript/src/services/
DtextChanges.ts807 …tNodeInListAfter(sourceFile: SourceFile, after: Node, newNode: Node, containingList = formatting.S…
808 if (!containingList) {
812 const index = indexOfNode(containingList, after);
817 if (index !== containingList.length - 1) {
838 const nextNode = containingList[index + 1];
857 if (containingList.length === 1) {
868 …nst afterMinusOneStartLinePosition = getLineStartPositionForPosition(containingList[index - 1].get…
1603 …const containingList = Debug.checkDefined(formatting.SmartIndenter.getContainingList(node, sourceF… constant
1604 const index = indexOfNode(containingList, node);
1606 if (containingList.length === 1) {
[all …]
DsignatureHelp.ts109 const containingList = findContainingList(startingToken); constant
110 return !!containingList && contains(invocationChildren, containingList);