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

tethys.derivation.impl.builder.WriterDescriptorMacro.scala Maven / Gradle / Ivy

package tethys.derivation.impl.builder

import tethys.derivation.builder.{WriterBuilder, WriterDescription}

import scala.reflect.macros.blackbox

/**
  * Created by eld0727 on 23.04.17.
  */
class WriterDescriptorMacro(val c: blackbox.Context) extends WriterBuilderCommons {

  import c.universe._

  def simpleDescription[A: WeakTypeTag](builder: Expr[WriterBuilder[A]]): Expr[WriterDescription[A]] = {
    convertWriterBuilder[A](builder)
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy