tree-sitter - v0.25.1
    Preparing search index...

    Type Alias Range

    A range of positions in a multi-line text document, specified both in terms of byte offsets and row/column positions.

    type Range = {
        endIndex: number;
        endPosition: Point;
        startIndex: number;
        startPosition: Point;
    }
    Index

    Properties

    endIndex: number

    The byte offset of the end of the range

    endPosition: Point

    The row and column where the range ends

    startIndex: number

    The byte offset of the start of the range

    startPosition: Point

    The row and column where the range starts