pub fn delta_encode(tokens: &[LineToken]) -> Vec<[u32; 5]>Expand description
Delta-encode absolute LineTokens into the LSP wire form: each quintuple is
(deltaLine, deltaStartChar, length, tokenType, tokenModifiers), where deltas are relative to
the previous token (and deltaStartChar resets to the absolute column when the line advances).
Tokens must be sorted by (line, start_char); line_tokens already produces them that way.