[Truffle] Simplify recording the start and end offsets for a token.