Interface Pos

Export

Pos

interface Pos {
    byte: number;
    column: number;
    line: number;
}

Properties

Properties

byte: number

Byte is the byte offset into the file where the indicated position begins.

Memberof

Pos

column: number

Column is the source code column where this position points. Columns are counted in visual cells starting at 1, and are incremented roughly per grapheme cluster encountered.

Memberof

Pos

line: number

Line is the source code line where this position points. Lines are counted starting at 1 and incremented for each newline character encountered.

Memberof

Pos

Generated using TypeDoc