All Downloads are FREE. Search and download functionalities are using the official Maven repository.

warning_diff.rdf.Range.scala Maven / Gradle / Ivy

The newest version!
package warning_diff.rdf

import sjsonnew.BasicJsonProtocol.*
import sjsonnew.JsonFormat
import warning_diff.JsonClassOps.*

case class Range(
  start: Position,
  end: Position
) {
  override def toString = this.toJsonString
}

object Range {
  implicit val instance: JsonFormat[Range] =
    caseClass2(apply, unapply)(
      "start",
      "end"
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy