Files
SnowLuma/.pnpm-store/v11/files/48/0757023e45f950509def301e25da576a1036c6cd947d95d01baca5f0cd5672bf45577a4bae8885b51326c711d2e12ad93bea73cc38db3f5f103958833d5090
T
TanTan 2a69b23b47
Dev Build / cleanup (push) Waiting to run
Dev Build / typecheck (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:27:07 +08:00

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;
}