class method
Prism::ParseResult::Comments.new
new(parse_result)
lib/prism/parse_result/comments.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/lib/prism/parse_result/comments.rb, line 87
def initialize(parse_result)
@parse_result = parse_result
end
Create a new Comments object that will attach comments to the given parse result.