pub fn subscript_range_bounds(
sub: &str,
known: &Option<(String, Option<(String, String)>)>,
) -> Option<(String, String)>Expand description
!!! WARNING: RUST-ONLY HELPER !!!
Resolve “is this subscript a range, and what are its bounds?” using
the parse-time decision recorded by subscript_arg_split when one is
available (c:Src/params.c:1533-1536 — C splits BEFORE expanding), and
falling back to a depth-0 comma scan of the already-expanded text for
the reference paths that do not record one.