A virtual file containing Scala.js IR.
IRFileCacheImpl opens IRFileCache for inheritance.
A virtual Scala.js IR file.
A virtual Scala.js IR file. It contains the class info and the IR tree.
LinkerImpl opens Linker for inheritance.
A module initializer for a Scala.js application.
A module initializer for a Scala.js application.
When linking a Scala.js application, a sequence of ModuleInitializer
s can
be given. Those module initializers will be executed at the startup of the
application. More specifically, the top-level code of the ECMAScript 2015
module emitted for the application will invoke the specified module
initializers in the specified order, after having initialized everything
else (notably static initializers).
Instances of ModuleInitializer
can be created with methods of
the ModuleInitializer companion object.
A virtual file containing Scala.js IR.
The main difference compared to using individual files (that are extracted beforehand) is that the fileset can be versioned at a higher level: the container needs to change its version when any of the files change. Therefore, the entire extraction process can be cached.