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

dependency.literal.Extensions.scala Maven / Gradle / Ivy

The newest version!
package dependency
package literal

import scala.language.experimental.macros

trait Extensions {
  implicit class moduleString(val sc: StringContext) {
    def mod(args: Any*): ModuleLike[NameAttributes] =
      macro ModuleLiteralMacros.module
  }
  implicit class dependencyString(val sc: StringContext) {
    def dep(args: Any*): DependencyLike[NameAttributes, NameAttributes] =
      macro DependencyLiteralMacros.dependency
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy