Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →
class method
Prism::LexCompat::Result.new
new(value, comments, magic_comments, data_loc, errors, warnings, source)
lib/prism/lex_compat.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.4.1/lib/prism/lex_compat.rb, line 19
def initialize(value, comments, magic_comments, data_loc, errors, warnings, source)
@value = value
super(comments, magic_comments, data_loc, errors, warnings, source)
end
Create a new lex compat result object with the given values.