0757023e45f950509def301e25da576a1036c6cd947d95d01baca5f0cd5672bf45577a4bae8885b51326c711d2e12ad93bea73cc38db3f5f103958833d5090 486 B

123456789101112131415161718192021
  1. /**
  2. * A specific location within a source file.
  3. *
  4. * This is always associated with a {@link SourceSpan} which indicates *which*
  5. * file it refers to.
  6. *
  7. * @category Logger
  8. */
  9. export interface SourceLocation {
  10. /**
  11. * The 0-based index of this location within its source file, in terms of
  12. * UTF-16 code units.
  13. */
  14. offset: number;
  15. /** The 0-based line number of this location. */
  16. line: number;
  17. /** The 0-based column number of this location. */
  18. column: number;
  19. }