SheetXL - v0.8.0-beta.9+sites.210.e2d420901
    Preparing search index...

    Interface FormulaViewAnchor

    The formula-view anchor: the selection anchor's formula, tokenized, when the view is showing formulas. null whenever there is nothing to spotlight (not in formula view, anchor isn't a formula cell, or the formula fails to tokenize).

    interface FormulaViewAnchor {
        cell: ICell;
        coords: CellCoords;
        ranges: readonly (RangeCoords | null)[];
        tokens: readonly FormulaToken[];
    }
    Index
    cell: ICell

    The anchor cell itself (styling source for the overlay renderer).

    coords: CellCoords

    The anchor cell's coordinates (sheet-local).

    ranges: readonly (RangeCoords | null)[]

    The formula's references as scoped ranges — every slot carries an explicit scope (implicit same-sheet references are stamped with this sheet's name, mirroring the editor's parsed.ranges) so per-pane consumers can filter without guessing. A slot is null when that reference can't resolve to a range (#REF!, a dangling name) — it must survive so later indices keep their color/token alignment.

    tokens: readonly FormulaToken[]

    The formula's tokens (resilient tokenizer over getFormulaText()), index-aligned with ranges via each token's referenceIndex.