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

instance method Prism::Token#value

value -> StringRuby 3.3 から[permalink][rdoc][edit]

トークンに対応するソースコードの文字列を返します。