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

scalan.ModuleInfo.scala Maven / Gradle / Ivy

The newest version!
package scalan

import scalan.meta.SSymName

/** Information about generated Special library module.
  * Instances are created in generated code.
  *
  * @see *Impl.scala files
  */
case class ModuleInfo(
    packageName: String,
    moduleName: String,
    extension: String = ".scalan") {
  val name = SSymName(packageName, moduleName)

  def getKey = name.mkFullName

  def sourceFileName = packageName.replace('.', '/') + s"/$moduleName$extension"
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy