Interface Position

Position object.

interface Position {
    column: number;
    line: number;
    offset: number;
}

Properties

Properties

column: number

Column number. Starts from 1.

line: number

Line number. Starts from 1.

offset: number

Character offset. Starts from 0.