method

token_pos

token_pos(byte_offset)
public

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