extendToEnd

fun LineCursor.extendToEnd(end: BlockEnd = BlockEnd.BEFORE_TERMINATOR): BlockExtent

Covers every line left, which is where a block that never closes ends.

Return

the extent of the rest of the input

Parameters

end

where the extent stops relative to the last line's terminator