scalan.Modules.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sigma-state_2.12 Show documentation
Show all versions of sigma-state_2.12 Show documentation
Interpreter of a Sigma-State language
The newest version!
package scalan
trait Modules extends Base { self: Scalan =>
/** Whether staged modules should be registered when cake is constructed and initialized. */
def okRegisterModules: Boolean = false
/** Called once for each staged module during this cake initialization. */
protected def registerModule(moduleInfo: ModuleInfo) = {
if (okRegisterModules) {
!!!(s"Cannot register module $moduleInfo: registerModule method is not overridden in IR cake $this. ")
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy