• Collect every cell reference an AST touches statically.

    Parameters

    • ast: Ast

      Parsed formula AST to inspect.

    Returns CellRef[]

    Flat list of CellRef values, in encounter order (left-to-right, depth-first).

    Range nodes are expanded via expandRange so each cell inside A1:B5 is reported individually. Numeric literals and unknown node shapes contribute no references.