Home
last modified time | relevance | path

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

/third_party/typescript/src/server/
DscriptInfo.ts199 positionToLineOffset(position: number): protocol.Location { method in ts.server.TextStorage
204 return this.svc!.positionToLineOffset(position);
649 positionToLineOffset(position: number): protocol.Location {
651 const location = this.textStorage.positionToLineOffset(position);
Dsession.ts53 start: scriptInfo.positionToLineOffset(diag.start!),
54 end: scriptInfo.positionToLineOffset(diag.start! + diag.length!), // TODO: GH#18217
1250 … startLocation: scriptInfo && scriptInfo.positionToLineOffset(d.start!), // TODO: GH#18217
1251 endLocation: scriptInfo && scriptInfo.positionToLineOffset(d.start! + d.length!),
1674 position: scriptInfo.positionToLineOffset(hint.position),
1816 … const symbolStartOffset = nameSpan ? scriptInfo.positionToLineOffset(nameSpan.start).offset : 0;
1965 start: scriptInfo.positionToLineOffset(quickInfo.textSpan.start),
1966 end: scriptInfo.positionToLineOffset(textSpanEnd(quickInfo.textSpan)),
2061 start: scriptInfo.positionToLineOffset(edit.span.start),
2062 end: scriptInfo.positionToLineOffset(textSpanEnd(edit.span)),
[all …]
DscriptVersionCache.ts317 positionToLineOffset(position: number): protocol.Location { method in ts.server.ScriptVersionCache
318 return this._getSnapshot().index.positionToLineOffset(position);
396 positionToLineOffset(position: number): protocol.Location {
DeditorServices.ts2984 const lineOffset = info.positionToLineOffset(pos);
/third_party/typescript/src/testRunner/unittests/tsserver/
DversionCache.ts52 assert.deepEqual(lineIndex.positionToLineOffset(0), { line: 1, offset: 1 });
64 assert.deepEqual(snapshot.positionToLineOffset(0), { line: 1, offset: 1 });
313 const lp = lineIndex.positionToLineOffset(rsa[i]);
DtextStorage.ts46 const { line: line1, offset: offset1 } = ts1.positionToLineOffset(pos);
47 const { line: line2, offset: offset2 } = ts2.positionToLineOffset(pos);
/third_party/typescript/lib/
Dtsserverlibrary.d.ts10461 positionToLineOffset(position: number): protocol.Location;
/third_party/typescript/tests/baselines/reference/api/
Dtsserverlibrary.d.ts10461 positionToLineOffset(position: number): protocol.Location;