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

scala.meta.prettyprinters.Syntax.scala Maven / Gradle / Ivy

Go to download

Bag of private and public helpers used in scala.meta's APIs and implementations

There is a newer version: 4.12.2
Show newest version
package scala.meta
package prettyprinters

import scala.annotation.implicitNotFound

@implicitNotFound(msg = "don't know how to show[Syntax] for ${T}")
trait Syntax[-T] extends Show[T]
object Syntax {
  def apply[T](f: T => Show.Result): Syntax[T] = new Syntax[T] {
    def apply(input: T) = f(input)
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy