method

token_pos

ruby latest stable - Class: RDoc::Markup::Parser

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2_2_9) is shown here.

token_pos(byte_offset)
public

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