Interface SourceCodeLocation

interface SourceCodeLocation {
    endCol: number;
    endLine: number;
    endOffset: number;
    startCol: number;
    startLine: number;
    startOffset: number;
}

Hierarchy (view full)

Properties

endCol: number

One-based column index of the last character. Points directly after the last character.

endLine: number

One-based line index of the last character.

endOffset: number

Zero-based last character index. Points directly after the last character.

startCol: number

One-based column index of the first character.

startLine: number

One-based line index of the first character.

startOffset: number

Zero-based first character index.