Dev Build / cleanup (push) Canceled after 0s
Dev Build / typecheck (push) Canceled after 0s
Dev Build / build (linux-arm64, ubuntu-24.04-arm, linux-arm64) (push) Canceled after 0s
Dev Build / build (linux-x64, ubuntu-latest, linux-x64) (push) Canceled after 0s
Dev Build / build (win-x64, windows-latest, win32-x64) (push) Canceled after 0s
Dev Build / dispatch-dev-docker (push) Skipped
22 lines
486 B
Plaintext
22 lines
486 B
Plaintext
/**
|
|
* A specific location within a source file.
|
|
*
|
|
* This is always associated with a {@link SourceSpan} which indicates *which*
|
|
* file it refers to.
|
|
*
|
|
* @category Logger
|
|
*/
|
|
export interface SourceLocation {
|
|
/**
|
|
* The 0-based index of this location within its source file, in terms of
|
|
* UTF-16 code units.
|
|
*/
|
|
offset: number;
|
|
|
|
/** The 0-based line number of this location. */
|
|
line: number;
|
|
|
|
/** The 0-based column number of this location. */
|
|
column: number;
|
|
}
|