wdpr
    Preparing search index...

    A single point in the source text.

    Represents one end (start or end) of a Position range. Line and column are 1-based to match text-editor conventions; offset is 0-based for direct use with String.prototype.slice().

    interface Point {
        column: number;
        line: number;
        offset: number;
    }
    Index

    Properties

    Properties

    column: number

    Column number within the line (1-based: the first character is column 1)

    line: number

    Line number in the source text (1-based: the first line is line 1)

    offset: number

    Character offset from the beginning of the source string (0-based)