method

token_pos

ruby latest stable - Class: Gem::RequestSet::Lockfile::Tokenizer
token_pos(byte_offset)
public

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