Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →
instance method
Ripper::Filter#state
() -> ::Ripper::Lexer::State
state
ext/ripper/lib/ripper/filter.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.1.0-preview1/ext/ripper/lib/ripper/filter.rb, line 52
def state
@__state
end
The scanner’s state of the current token. This value is the bitwise OR of zero or more of the Ripper::EXPR_* constants.