scalan.meta.scalanizer.ScalanizerConfig.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of meta_2.12 Show documentation
Show all versions of meta_2.12 Show documentation
Compiling Scala to Something special
The newest version!
package scalan.meta.scalanizer
import scalan.meta._
import scalan.meta.ScalanAst.{WrapperConf, NonWrapper}
trait ScalanizerConfig {
/** Modules that contain units to be virtualized by scalan-meta. */
val sourceModules: ConfMap[SourceModuleConf]
/** Modules that assemble virtualized units from source modules into virtualized cakes */
val targetModules: ConfMap[TargetModuleConf]
// /** The folder of the module where the generated code will be stored.
// * This folder is relative to the project root folder. */
// def targetModuleFolder: String
/** The flag indicates that the plugin has to generate additional information and to store it
* the debug folder and outputs to the console. */
def debug: Boolean
def withDebug(d: Boolean): ScalanizerConfig
/** Config for Scalan Codegen. */
def unitConfigs: List[UnitConfig]
def getUnitConfig(unitName: String): UnitConfig
def getModule(moduleName: String): ModuleConf
def wrapperConfigs: Map[String, WrapperConf]
def nonWrappers: Map[String, NonWrapper]
def pluginConfigs: Seq[PluginConfig]
}