Interface LocationWithAttributes

interface LocationWithAttributes {
    attrs?: Record<string, Location>;
    endCol: number;
    endLine: number;
    endOffset: number;
    startCol: number;
    startLine: number;
    startOffset: number;
}

Hierarchy (view full)

Properties

attrs?: Record<string, Location>

Start tag attributes' location info.

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.