hyperlark (TypeScript)
    Preparing search index...

    Interface Token

    A terminal token produced by the lexer. All positions are Unicode code-point offsets (not bytes). Positions are always present for lexed tokens; null only for a synthetic (positionless) token.

    interface Token {
        column: number | null;
        end_column: number | null;
        end_line: number | null;
        end_pos: number | null;
        line: number | null;
        start_pos: number | null;
        type: string;
        value: string;
    }
    Index
    column: number | null

    1-based column (in code points) of the first character.

    end_column: number | null

    1-based column just past the last character.

    end_line: number | null

    1-based line of the last character.

    end_pos: number | null

    Code-point offset just past the token's last character.

    line: number | null

    1-based line of the first character.

    start_pos: number | null

    Code-point offset of the token's first character.

    type: string

    Terminal name, e.g. "NUMBER", "NAME", "PLUS".

    value: string

    Matched source text.