Home
last modified time | relevance | path

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

/third_party/typescript/src/services/
DtextChanges.ts174 const pos = getLineStartPositionForPosition(startPos, sourceFile);
180 return getLineStartPositionForPosition(JSDocComments[0].pos, sourceFile);
188 const fullStartLine = getLineStartPositionForPosition(fullStart, sourceFile);
189 const startLine = getLineStartPositionForPosition(start, sourceFile);
484 … pos: getLineStartPositionForPosition(jsdoc.getStart(sourceFile), sourceFile),
647 …tion = formatting.SmartIndenter.findFirstNonWhitespaceColumn(getLineStartPositionForPosition(membe…
662 …return formatting.SmartIndenter.findFirstNonWhitespaceColumn(getLineStartPositionForPosition(nodeS…
848 … const afterStartLinePosition = getLineStartPositionForPosition(afterStart, sourceFile);
868 …const afterMinusOneStartLinePosition = getLineStartPositionForPosition(containingList[index - 1].g…
1089 …const noIndent = (options.indentation !== undefined || getLineStartPositionForPosition(pos, source…
[all …]
DjsDoc.ts400 const lineStart = getLineStartPositionForPosition(position, sourceFile);
Dutilities.ts495 …export function getLineStartPositionForPosition(position: number, sourceFile: SourceFileLike): num… function
Dcompletions.ts1973 const lineStart = getLineStartPositionForPosition(position, sourceFile);
/third_party/typescript/src/services/formatting/
Dformatting.ts132 …pos: getLineStartPositionForPosition(outermostNode!.getStart(sourceFile), sourceFile), // TODO: GH…
155 pos: getLineStartPositionForPosition(start, sourceFile),
367 pos: getLineStartPositionForPosition(node.getStart(sourceFile), sourceFile),
509 const startLinePosition = getLineStartPositionForPosition(startPos, sourceFile);
842 … const startLinePosition = getLineStartPositionForPosition(tokenInfo.token.pos, sourceFile);
DsmartIndenter.ts136 const lineStart = getLineStartPositionForPosition(current, sourceFile);