instance method
Prism::Token#deconstruct_keys
deconstruct_keys(keys)
lib/prism/parse_result.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/lib/prism/parse_result.rb, line 824
def deconstruct_keys(keys)
{ type: type, value: value, location: location }
end
Implement the hash pattern matching interface for Token.