Skip to main content

Module utils

Module utils 

Source
Expand description

Internal parser utilities, including mapping line/column errors back to byte offsets.

Functions§

line_col_to_byte_offset
Helper to convert a 1-indexed line and column to a 0-indexed byte offset in the input string.