When the emitted text is complete, the pointers in the tokens are updated to point to the correct text fragments. (Considering the text buffer might get relocated when appending to it.)
See Implementation
When the emitted text is complete, the pointers in the tokens are updated to point to the correct text fragments. (Considering the text buffer might get relocated when appending to it.)