pub fn token_at(tokens: &[Token], byte: u32) -> Option<usize>
Finds the index of the token covering byte (token.start <= byte < token.end) using O(log N) binary search over a contiguous or monotonic slice of tokens.
byte
token.start <= byte < token.end
O(log N)