class Prism::Comment
This represents a comment that was encountered during parsing.
def deconstruct_keys(keys)
def deconstruct_keys(keys) { type: type, location: location } end
def initialize(type, location)
def initialize(type, location) @type = type @location = location end
def inspect
def inspect "#<Prism::Comment @type=#{@type.inspect} @location=#{@location.inspect}>" end
def trailing?
def trailing? type == :inline && !location.start_line_slice.strip.empty? end