class Prism::InlineComment

the source file like this one that start with #.
InlineComment objects are the most common. They correspond to comments in

def inspect

Returns a string representation of this comment.
def inspect
  "#<Prism::InlineComment @location=#{location.inspect}>"
end

def trailing?

false if the comment is by itself.
Returns true if this comment happens on the same line as other code and
def trailing?
  !location.start_line_slice.strip.empty?
end