instance method
Prism::Relocation::LeadingCommentsField#fields
fields(value)
lib/prism/relocation.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/lib/prism/relocation.rb, line 338
def fields(value)
{ leading_comments: comments(value.leading_comments) }
end
Fetches the leading comments of a value.
also in
3.4