Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
Prism::LexCompat::Token#state
state
lib/prism/lex_compat.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.4.1/lib/prism/lex_compat.rb, line 223
def state
self[3]
end
The state of the lexer when this token was produced.