# File lib/ruby_parser_extras.rb, line 37
  def lineno
    string[0...pos].count("\n") + 1
  end