Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
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;
|
|
}
|