fn rewrite_logical_op(s: &str, op_char: u8, func_name: &str) -> String
Inner rewriter for one operator family. op_char is b'&' (for &&) or b'|' (for ||); func_name is the destination builtin ("band" / "bor").
op_char
b'&'
&&
b'|'
||
func_name
"band"
"bor"