Atrium — shared contracts and the typesetting engine
    Preparing search index...

    Interface SourceRef

    Where in the source something happened. Carried through parse, macro expansion and layout — the engine foundation treats a wrong line number as a bug, so nodes hold on to this rather than recomputing it at the point of failure.

    interface SourceRef {
        column?: number;
        file: string;
        line: number;
    }
    Index
    column?: number

    1-based, when the engine can pin one.

    file: string
    line: number

    1-based; 0 when the problem belongs to the document rather than a line.