token_pos(byte_offset)
Calculates the column (by byte) and the line of the current token based on byte_offset.
# File lib/rubygems/request_set/lockfile/tokenizer.rb, line 36 def token_pos byte_offset # :nodoc: [byte_offset - @line_pos, @line] end