find_assignment_value_end

Function find_assignment_value_end 

Source
fn find_assignment_value_end(bytes: &[u8], offset: usize) -> usize
Expand description

Find the byte offset where an assignment’s RHS value ends. Walks forward through bytes starting at offset, tracking paren balance. Stops at the first ; or , at depth 0, an unmatched ) (the assignment lives inside an enclosing call), or end-of-buffer.