dotty.tools.backend.sjs.GenSJSIR.scala Maven / Gradle / Ivy
The newest version!
package dotty.tools.backend.sjs
import dotty.tools.dotc.core._
import Contexts._
import Phases._
/** Generates Scala.js IR files for the compilation unit. */
class GenSJSIR extends Phase {
def phaseName: String = "genSJSIR"
override def isRunnable(implicit ctx: Context): Boolean =
super.isRunnable && ctx.settings.scalajs.value
def run(implicit ctx: Context): Unit =
new JSCodeGen().run()
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy