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

Properties

Properties

column: number

Source line in file. In contrast to offset it starts from 1.

line: number

Source column in file.

offset: number

Source offset in file. It starts from 0.