Skip to main content

Module range_utils

Module range_utils 

Source

Functionsยง

expand_byte_range_to_blocks
Expand a byte range to encompass complete block-level elements (internal helper).
expand_line_range_to_blocks
Expand a 1-indexed line range to encompass complete block-level elements.
find_incremental_restart_offset
Find a conservative restart offset for incremental reparsing.
line_range_to_byte_offsets
Convert 1-indexed line range to byte offsets