Utility function to render a given parser position for error reporting and debug purposes.
Data object (tokens and options).
Parser position in the tokens array.
A function to stringify a token.
How many tokens around the current one to render.
A multiline string.
Utility function to render a given parser position for error reporting and debug purposes.