選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
 
 
 

14 行
376 B

  1. export declare type SourceLocation = {
  2. line: number;
  3. column: number;
  4. };
  5. export declare class LinesAndColumns {
  6. private string;
  7. private offsets;
  8. constructor(string: string);
  9. locationForIndex(index: number): SourceLocation | null;
  10. indexForLocation(location: SourceLocation): number | null;
  11. private lengthOfLine;
  12. }
  13. export default LinesAndColumns;