Ruby 3.4 リファレンスマニュアル

instance method Prism::Location#start_offset

start_offset -> IntegerRuby 3.3 から[permalink][rdoc][edit]

範囲の開始位置のバイトオフセットを返します。