EmbDocComment objects correspond to comments that are surrounded by =begin and =end.
Instance Methods
#
3.3
View on GitHub
# File tmp/rubies/ruby-3.3.0/lib/prism/parse_result.rb, line 267
def inspect
"#<Prism::EmbDocComment @location=#{location.inspect}>"
end
Returns a string representation of this comment.
3.3
View on GitHub
# File tmp/rubies/ruby-3.3.0/lib/prism/parse_result.rb, line 262
def trailing?
false
end
This can only be true for inline comments.