instance method
Prism::Location#leading_comments
leading_comments
lib/prism/parse_result.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/lib/prism/parse_result.rb, line 307
def leading_comments
@leading_comments ||= []
end
These are the comments that are associated with this location that exist before the start of this location.