method

token_pos

token_pos(byte_offset)
public

Calculates the column (by byte) and the line of the current token based on byte_offset.