Skip to content
class method

Prism::ParseResult::Comments.new

new(parse_result)

Create a new Comments object that will attach comments to the given parse result.

See also #attach! #nearest_targets also in 3.4 · 3.3