Searched refs:positionToLineOffset (Results 1 – 8 of 8) sorted by relevance
/third_party/typescript/src/server/ |
D | scriptInfo.ts | 199 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);
|
D | session.ts | 53 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 …]
|
D | scriptVersionCache.ts | 317 positionToLineOffset(position: number): protocol.Location { method in ts.server.ScriptVersionCache 318 return this._getSnapshot().index.positionToLineOffset(position); 396 positionToLineOffset(position: number): protocol.Location {
|
D | editorServices.ts | 2984 const lineOffset = info.positionToLineOffset(pos);
|
/third_party/typescript/src/testRunner/unittests/tsserver/ |
D | versionCache.ts | 52 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]);
|
D | textStorage.ts | 46 const { line: line1, offset: offset1 } = ts1.positionToLineOffset(pos); 47 const { line: line2, offset: offset2 } = ts2.positionToLineOffset(pos);
|
/third_party/typescript/lib/ |
D | tsserverlibrary.d.ts | 10461 positionToLineOffset(position: number): protocol.Location;
|
/third_party/typescript/tests/baselines/reference/api/ |
D | tsserverlibrary.d.ts | 10461 positionToLineOffset(position: number): protocol.Location;
|