 }
 
 /// Represents a source location in a Swift file.
-public struct SourceLocation: Codable, CustomDebugStringConvertible {
+public struct SourceLocation: Equatable, Codable, CustomDebugStringConvertible {
 
   /// Line and column that can be computed on demand.
   private var compLoc: ComputedLocation?


/// Represent the user-facing part of SourceLocation that can be calculated
/// on demand.
struct ComputedLocation: 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: Equatable, Codable, CustomDebugStringConvertible {

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