pub fn encode_position(element_ordinal: u32, token_position: u32) -> u32
Encode element ordinal and token position into a single u32