class SyntaxTree::Parser

def char_pos

Experimental RBS support (using type sampling data from the type_fusion project).

def char_pos: () -> untyped

This signature was generated using 428 samples from 1 application.

that we've gone through.
beginning of this line, then we add the number of columns into this line
the number of characters that we've had to go through to get to the
to so far. We have a memoized line_counts object that we can use to get
This represents the current place in the source string that we've gotten
def char_pos
  line_counts[lineno - 1][column]
end