class SourceMap::Mapping
def inspect
Public: Get a pretty inspect output for debugging purposes.
def inspect str = "#<#{self.class} source=#{source.inspect}" str << " generated=#{generated}, original=#{original}" str << " name=#{name.inspect}" if name str << ">" str end
def to_s
Public: Get a simple string representation of the mapping.
def to_s str = "#{generated.line}:#{generated.column}" str << "->#{source}@#{original.line}:#{original.column}" str << "##{name}" if name str end