Provides information pointing to a location within a source.

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

Properties

Properties

column: number

Column in the parsed source (1-based).

line: number

Line in the parsed source (1-based).

offset: number

Offset in the parsed source (0-based).