 
 /// Represent the user-facing part of SourceLocation that can be calculated
 /// on demand.
-struct ComputedLocation: Codable, CustomDebugStringConvertible {
+struct ComputedLocation: Equatable, Codable, CustomDebugStringConvertible {
   /// The line in the file where this location resides. 1-based.
   let line: Int
 

}

/// Represents a start and end location in a Swift file.
public struct SourceRange: Codable, CustomDebugStringConvertible {

  /// The beginning location in the source range.
  public let start: SourceLocation

}

/// Represents a source location in a Swift file.
public struct SourceLocation: Equatable, Codable, CustomDebugStringConvertible {

  /// Line and column that can be computed on demand.
  private var compLoc: ComputedLocation?
