A1 cell address within the sheet; the anchor range (F2:H6) for a shape or chart; the name
itself for a defined name. Qualified with sheet, each is something a follow-up call takes.
OptionalcontextThe enclosing block, when GrepArgs.context was requested and one exists.
Which layer matched.
Sheet name — for a name match, the sheet the name is scoped to, or '' for a
workbook-scoped one.
The full text of the matched layer.
One match. Grep's unit is the cell — one entry per matched
(cell, field), in reading order.Remarks
Text that is not in a cell keeps the same shape. A shape or a chart is an entry per matched text, addressed by the cells it is anchored over, after its sheet's cells; a defined name is an entry addressed by the name itself, after every sheet.
Deliberately not coalesced into blocks: uniform runs of identical values are regions — a payload feature splits where the value changes, so the regions read already owns that shape, in 2-D and with the full partition to rank against. Grep answering cell-grain and regions answering block-grain is the family split (§6.1). GrepArgs.context does not move that line: the unit stays the cell; the region is carried as an annotation on it, and the renderer merely groups by it.