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

mdoc.internal.pos.EmptyResult.scala Maven / Gradle / Ivy

There is a newer version: 2.2.24
Show newest version
package mdoc.internal.pos

import scala.meta.inputs.Position

sealed trait EmptyResult

object EmptyResult {
  case object Unchanged extends EmptyResult
  case object NoMatch extends EmptyResult
  def unchanged: Either[EmptyResult, Position] = Left(Unchanged)
  def noMatch: Either[EmptyResult, Position] = Left(NoMatch)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy