SourceLocation

A specific location within a source file.

This is always associated with a SourceSpan which indicates which file it refers to.

Hierarchy

  • SourceLocation

Properties

Properties

column: number

The 0-based column number of this location.

line: number

The 0-based line number of this location.

offset: number

The 0-based index of this location within its source file, in terms of UTF-16 code units.