All code in this complete classpath
All code in this complete classpath
Checks whether the given semantics are compliant with the requirements of this CompleteClasspath.
Checks whether the given semantics are compliant with the requirements of this CompleteClasspath. Throws an exception otherwise.
Orders and optimizes the contained IR.
Orders and optimizes the contained IR.
Consider using ScalaJSOptimizer for a canonical way to do so. It allows to persist the resulting file and create a source map, as well as using non-default Semantics.
A CompleteClasspath that contains only IR as scalaJSCode