scala.meta.contrib.implicits.Converters.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of scalameta_native0.5_2.13 Show documentation
Show all versions of scalameta_native0.5_2.13 Show documentation
Scalameta umbrella module that includes all public APIs
package scala.meta.contrib.implicits
import scala.meta._
trait Converters {
implicit class convertName(n: Name) {
def asTerm: Term.Name = Term.Name(n.value)
def asType: Type.Name = Type.Name(n.value)
def asPat: Pat.Var = Pat.Var(n.asTerm)
}
}
object Converters extends Converters
© 2015 - 2025 Weber Informatics LLC | Privacy Policy