class method
Prism::ParseResult.new
new(value, comments, magic_comments, data_loc, errors, warnings, source)
lib/prism/parse_result.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/lib/prism/parse_result.rb, line 740
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 parse result object with the given values.