A document_range is a pair of document_position objects,
with each position indicating the start and end of the range,
respectively.
document_range(start, end = NULL) is.document_range(x) as.document_range(x)
| start | A |
|---|---|
| end | A |
| x | An object coercable to |
An R list with class document_range and fields:
start: | The start position. |
end: | The end position. |