package linker
- Alphabetic
- Public
- All
Type Members
- sealed abstract class CheckedBehavior extends AnyRef
-
final
class
ClearableLinker extends GenLinker
A box around a GenLinker to support clearing.
A box around a GenLinker to support clearing.
This further supports:
- batch mode (clearing after every operation)
- clearing if linker throws
This class is not thread-safe.
-
trait
GenLinker extends AnyRef
Common supertrait of Linker and ClearableLinker.
Common supertrait of Linker and ClearableLinker.
Essentially anything that has the
link
andlinkUnit
methods. -
final
class
LinkedClass extends AnyRef
A ClassDef after linking.
A ClassDef after linking.
Note that the version in the LinkedClass does not cover staticMethods, memberMethods and exportedMembers as they have their individual versions. (The collections themselves are not versioned).
Moreover, the version is relative to the identity of a LinkedClass. The definition of identity varies as linked classes progress through the linking pipeline, but it only gets stronger, i.e., if two linked classes are id-different at phase P, then they must also be id-different at phase P+1. The converse is not true. This guarantees that versions can be used reliably to determine at phase P+1 whether a linked class coming from phase P must be reprocessed.
-
final
class
Linker extends GenLinker
The Scala.js linker
-
class
LinkingException extends Exception
Thrown by the linker when linking cannot be performed.
- final class LinkingUnit extends AnyRef
-
sealed abstract
class
ModuleInitializer extends AnyRef
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. -
sealed abstract
class
ModuleKind extends AnyRef
Kind of module structure emitted for the Scala.js output.
- final class Semantics extends AnyRef
-
final
class
Versioned[+T] extends AnyRef
A versioned thing, accompanied by its version.
A versioned thing, accompanied by its version.
Note that, as used in
LinkingUnit
, the version is relative to the identity of the versioned thing. The definition of identity varies as items progress through the linking pipeline, but it only gets stronger, i.e., if two items are id-different at phase P, then they must also be id-different at phase P+1. The converse is not true. This guarantees that versions can be reliably used to determine at phase P+1 whether the given item coming from phase P must be reprocessed.
Value Members
- object CheckedBehavior
- object Linker
-
object
ModuleInitializer
Factory for ModuleInitializers.
- object ModuleKind
- object Semantics
- object StandardLinker
- object StandardLinkerPlatformExtensions