Searched refs:lineOffsetToPosition (Results 1 – 8 of 8) sorted by relevance
/third_party/typescript/src/server/ |
D | scriptInfo.ts | 190 lineOffsetToPosition(line: number, offset: number, allowEdits?: true): number { method in ts.server.TextStorage 196 return this.svc!.lineOffsetToPosition(line, offset); 642 lineOffsetToPosition(line: number, offset: number): number; 644 …lineOffsetToPosition(line: number, offset: number, allowEdits?: true): number; // eslint-disable-l… 645 lineOffsetToPosition(line: number, offset: number, allowEdits?: true): number { 646 return this.textStorage.lineOffsetToPosition(line, offset, allowEdits);
|
D | session.ts | 1863 …return args.position !== undefined ? args.position : scriptInfo.lineOffsetToPosition(args.line, ar… 1984 const startPosition = scriptInfo.lineOffsetToPosition(args.line, args.offset); 1985 const endPosition = scriptInfo.lineOffsetToPosition(args.endLine, args.endOffset); 2017 const position = scriptInfo.lineOffsetToPosition(args.line, args.offset); 2267 const start = scriptInfo.lineOffsetToPosition(args.line, args.offset); 2268 const end = scriptInfo.lineOffsetToPosition(args.endLine, args.endOffset); 2488 …return loc.position !== undefined ? loc.position : scriptInfo.lineOffsetToPosition(loc.line, loc.o… 2643 startPosition = scriptInfo.lineOffsetToPosition(args.startLine, args.startOffset); 2652 endPosition = scriptInfo.lineOffsetToPosition(args.endLine, args.endOffset); 2974 … const start = scriptInfo.lineOffsetToPosition(change.start.line, change.start.offset); [all …]
|
D | scriptVersionCache.ts | 313 lineOffsetToPosition(line: number, column: number): number { method in ts.server.ScriptVersionCache
|
D | editorServices.ts | 2987 …PositionOfLineAndCharacter: (line, character, allowEdits) => info.lineOffsetToPosition(line + 1, c…
|
/third_party/typescript/src/testRunner/unittests/tsserver/ |
D | textStorage.ts | 34 const pos1 = ts1.lineOffsetToPosition(line + 1, offset + 1); 35 const pos2 = ts2.lineOffsetToPosition(line + 1, offset + 1);
|
/third_party/typescript/src/harness/ |
D | client.ts | 63 …private lineOffsetToPosition(fileName: string, lineOffset: protocol.Location, lineMap?: number[]):… method in ts.server.SessionClient 570 this.lineOffsetToPosition(fileName, span.start, lineMap), 571 this.lineOffsetToPosition(fileName, span.end, lineMap)); 692 position: this.lineOffsetToPosition(file, item.position), 750 …renameLocation = this.lineOffsetToPosition(renameFilename, response.body.renameLocation!); // TODO…
|
/third_party/typescript/lib/ |
D | tsserverlibrary.d.ts | 10460 lineOffsetToPosition(line: number, offset: number): number;
|
/third_party/typescript/tests/baselines/reference/api/ |
D | tsserverlibrary.d.ts | 10460 lineOffsetToPosition(line: number, offset: number): number;
|